Skip to content

Commit

Permalink
Fix missing require waitForPageReady in test-runner-image-snapshot-te…
Browse files Browse the repository at this point in the history
…sting.js.mdx
  • Loading branch information
hakshu25 committed May 7, 2024
1 parent ed5eb98 commit 88f8c17
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```js
// .storybook/test-runner.js

const { waitForPageReady } = require('@storybook/test-runner');
const { toMatchImageSnapshot } = require('jest-image-snapshot');

const customSnapshotsDir = `${process.cwd()}/__snapshots__`;
Expand Down

0 comments on commit 88f8c17

Please sign in to comment.