Skip to content

Commit

Permalink
Rename afterEach to experimental_afterEach in story test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Nov 29, 2024
1 parent be293af commit c6e6023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/story.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const simple: XMeta = {
await doSomething();
return cleanup;
},
async afterEach() {
async experimental_afterEach() {
await validateSomething();
},
args: { x: '1' },
Expand All @@ -76,7 +76,7 @@ const strict: XMeta<ButtonArgs> = {
await doSomething();
return cleanup;
},
async afterEach() {
async experimental_afterEach() {
await validateSomething();
},
argTypes: { x: { type: { name: 'string' } } },
Expand Down

0 comments on commit c6e6023

Please sign in to comment.