Skip to content

Commit

Permalink
fixup! feat(workspace-plugin): move test-ssr task to /stories project…
Browse files Browse the repository at this point in the history
… to create proper dependency tree
  • Loading branch information
Hotell committed May 3, 2024
1 parent f01dadd commit 5492b9b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ describe('react-library generator', () => {
mainEntryPointFilePath:
'<projectRoot>/../../../../../../dist/out-tsc/types/packages/react-components/<unscopedPackageName>/library/src/index.d.ts',
});
expect(readJson(tree, `${library.root}/package.json`)).toEqual(
const libPackageJson = readJson(tree, `${library.root}/package.json`);
expect(libPackageJson.scripts['test-ssr']).toEqual(undefined);
expect(libPackageJson).toEqual(
expect.objectContaining({
name: '@proj/react-one-preview',
private: true,
Expand Down Expand Up @@ -197,6 +199,7 @@ describe('react-library generator', () => {
start: 'yarn storybook',
storybook: 'start-storybook',
'type-check': 'just-scripts type-check',
'test-ssr': 'test-ssr "./src/**/*.stories.tsx"',
},
});

Expand Down

0 comments on commit 5492b9b

Please sign in to comment.