diff --git a/__fixtures__/test-project/web/src/components/Author/Author.stories.tsx b/__fixtures__/test-project/web/src/components/Author/Author.stories.tsx index d4088a3ac6ce..5c0f8da3d9c8 100644 --- a/__fixtures__/test-project/web/src/components/Author/Author.stories.tsx +++ b/__fixtures__/test-project/web/src/components/Author/Author.stories.tsx @@ -27,4 +27,8 @@ const author = { fullName: 'Story User', } -export const Primary: Story = {} +export const Primary: Story = { + render: () => { + return + } +} diff --git a/__fixtures__/test-project/web/src/pages/BlogPostPage/BlogPostPage.stories.tsx b/__fixtures__/test-project/web/src/pages/BlogPostPage/BlogPostPage.stories.tsx index 6f7867b5c317..43074d5880a5 100644 --- a/__fixtures__/test-project/web/src/pages/BlogPostPage/BlogPostPage.stories.tsx +++ b/__fixtures__/test-project/web/src/pages/BlogPostPage/BlogPostPage.stories.tsx @@ -10,4 +10,8 @@ export default meta type Story = StoryObj -export const Primary: Story = {} +export const Primary: Story = { + render: (args) => { + return + } +} diff --git a/__fixtures__/test-project/web/src/pages/WaterfallPage/WaterfallPage.stories.tsx b/__fixtures__/test-project/web/src/pages/WaterfallPage/WaterfallPage.stories.tsx index b97c5e54151f..ee6a1601562c 100644 --- a/__fixtures__/test-project/web/src/pages/WaterfallPage/WaterfallPage.stories.tsx +++ b/__fixtures__/test-project/web/src/pages/WaterfallPage/WaterfallPage.stories.tsx @@ -10,4 +10,6 @@ export default meta type Story = StoryObj -export const Primary: Story = {} +export const Primary: Story = { + render: (args) => , +} diff --git a/package.json b/package.json index 3fc341691708..dc044af067a9 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "lerna": "7.2.0", "listr2": "6.6.1", "make-dir-cli": "3.0.0", - "msw": "1.3.0", + "msw": "1.3.1", "ncp": "2.0.0", "nodemon": "2.0.22", "npm-packlist": "7.0.4", diff --git a/packages/auth/package.json b/packages/auth/package.json index 8091a8b14652..73b236b43ed1 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -32,7 +32,7 @@ "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "14.0.0", "jest": "29.7.0", - "msw": "1.3.0", + "msw": "1.3.1", "typescript": "5.2.2" }, "gitHead": "3905ed045508b861b495f8d5630d76c7a157d8f1" diff --git a/packages/testing/package.json b/packages/testing/package.json index 18abf6a43f86..cdcfbfde9add 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -51,7 +51,7 @@ "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "jest-watch-typeahead": "2.2.2", - "msw": "1.3.0", + "msw": "1.3.1", "ts-toolbelt": "9.6.0", "whatwg-fetch": "3.6.17" }, diff --git a/yarn.lock b/yarn.lock index 350d530a6de4..687729dfe1e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5165,19 +5165,19 @@ __metadata: languageName: node linkType: hard -"@mswjs/interceptors@npm:^0.17.5": - version: 0.17.9 - resolution: "@mswjs/interceptors@npm:0.17.9" +"@mswjs/interceptors@npm:^0.17.10": + version: 0.17.10 + resolution: "@mswjs/interceptors@npm:0.17.10" dependencies: "@open-draft/until": ^1.0.3 "@types/debug": ^4.1.7 "@xmldom/xmldom": ^0.8.3 debug: ^4.3.3 - headers-polyfill: ^3.1.0 + headers-polyfill: 3.2.5 outvariant: ^1.2.1 strict-event-emitter: ^0.2.4 web-encoding: ^1.1.5 - checksum: d99b4f54587ae60d323e1f65a1e7417521553a4431250f600740baa5c8caeb8a5d972952be027fb04d99624004456d80e62d1f0e5328fda49fd8508ab88afe86 + checksum: 0343a93711b60c321c40733d6bf2720a736d8e0730f5d0d9916ee4a24abfcfca4a83d1e4b2e21c3affef4fc61f04588104be002fbc8258dc4b0d202c384ade33 languageName: node linkType: hard @@ -8326,7 +8326,7 @@ __metadata: "@testing-library/react": 14.0.0 core-js: 3.32.2 jest: 29.7.0 - msw: 1.3.0 + msw: 1.3.1 react: 18.2.0 typescript: 5.2.2 languageName: unknown @@ -9159,7 +9159,7 @@ __metadata: jest: 29.7.0 jest-environment-jsdom: 29.7.0 jest-watch-typeahead: 2.2.2 - msw: 1.3.0 + msw: 1.3.1 ts-toolbelt: 9.6.0 typescript: 5.2.2 whatwg-fetch: 3.6.17 @@ -21693,10 +21693,10 @@ __metadata: languageName: node linkType: hard -"headers-polyfill@npm:^3.1.0, headers-polyfill@npm:^3.2.0": - version: 3.2.3 - resolution: "headers-polyfill@npm:3.2.3" - checksum: 9d2ff9d489dd206b6421f9581c08eb0642443a0926d03eab88a3707e4c4d16ff86892a86175720d08f6be2813f27ece9166d66cceb80925f64f882bc74f9bd85 +"headers-polyfill@npm:3.2.5": + version: 3.2.5 + resolution: "headers-polyfill@npm:3.2.5" + checksum: 10202f4ebfaecd6aa31305f29664f876ac01d9174a3fb8fcc5a0df3eaf9c1767fb0d6cf6f961484f2bfd2101b6768090976f146bd88aeedd07af4e741cb2dcb7 languageName: node linkType: hard @@ -26649,12 +26649,12 @@ __metadata: languageName: node linkType: hard -"msw@npm:1.3.0": - version: 1.3.0 - resolution: "msw@npm:1.3.0" +"msw@npm:1.3.1": + version: 1.3.1 + resolution: "msw@npm:1.3.1" dependencies: "@mswjs/cookies": ^0.2.2 - "@mswjs/interceptors": ^0.17.5 + "@mswjs/interceptors": ^0.17.10 "@open-draft/until": ^1.0.3 "@types/cookie": ^0.4.1 "@types/js-levenshtein": ^1.1.1 @@ -26662,7 +26662,7 @@ __metadata: chokidar: ^3.4.2 cookie: ^0.4.2 graphql: ^15.0.0 || ^16.0.0 - headers-polyfill: ^3.2.0 + headers-polyfill: 3.2.5 inquirer: ^8.2.0 is-node-process: ^1.2.0 js-levenshtein: ^1.1.6 @@ -26679,7 +26679,7 @@ __metadata: optional: true bin: msw: cli/index.js - checksum: 15cbe20fddddcc7dcb62f1ea91b235d18478aef75234873f8288e3b87501306354f5c0badf4aa772e13c1f090fb04460c34d50ccc5bcb5bf148a3ba6a0539993 + checksum: 3a5297f5792abc956d4365df8221dae63cc2e19361e01e393f1303e41521d4fab3eb4e4154efebd48ddefd17d046d5e6054172d78d1092f5100c3ead46d7041a languageName: node linkType: hard @@ -31381,7 +31381,7 @@ __metadata: lerna: 7.2.0 listr2: 6.6.1 make-dir-cli: 3.0.0 - msw: 1.3.0 + msw: 1.3.1 ncp: 2.0.0 nodemon: 2.0.22 npm-packlist: 7.0.4