Skip to content

Commit

Permalink
chore(ci): undo changes to test project stories (#9166)
Browse files Browse the repository at this point in the history
#9133 included changes to story
files in the test project fixture. The test project rebuild script
doesn't respect these changes, which I had to make manually to better
conform to the new story format. Unfortunately it's just something I've
been keeping an eye on which isn't sustainable. Just reverting them for
now so CI is testing the right thing.
  • Loading branch information
jtoar committed Sep 18, 2023
1 parent 8ebbfb4 commit 5379454
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@ const author = {
fullName: 'Story User',
}

export const Primary: Story = {}
export const Primary: Story = {
render: () => {
return <Author author={author} />
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ export default meta

type Story = StoryObj<typeof BlogPostPage>

export const Primary: Story = {}
export const Primary: Story = {
render: (args) => {
return <BlogPostPage id={42} {...args} />
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ export default meta

type Story = StoryObj<typeof WaterfallPage>

export const Primary: Story = {}
export const Primary: Story = {
render: (args) => <WaterfallPage id={42} {...args} />,
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
36 changes: 18 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -26649,20 +26649,20 @@ __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
chalk: ^4.1.1
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
Expand All @@ -26679,7 +26679,7 @@ __metadata:
optional: true
bin:
msw: cli/index.js
checksum: 15cbe20fddddcc7dcb62f1ea91b235d18478aef75234873f8288e3b87501306354f5c0badf4aa772e13c1f090fb04460c34d50ccc5bcb5bf148a3ba6a0539993
checksum: 3a5297f5792abc956d4365df8221dae63cc2e19361e01e393f1303e41521d4fab3eb4e4154efebd48ddefd17d046d5e6054172d78d1092f5100c3ead46d7041a
languageName: node
linkType: hard

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5379454

Please sign in to comment.