From 88f8c171132737f3133d65be90fda111d5f205d5 Mon Sep 17 00:00:00 2001 From: hakshu25 Date: Tue, 7 May 2024 21:49:31 +0900 Subject: [PATCH] Fix missing require waitForPageReady in test-runner-image-snapshot-testing.js.mdx --- docs/snippets/common/test-runner-image-snapshot-testing.js.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/snippets/common/test-runner-image-snapshot-testing.js.mdx b/docs/snippets/common/test-runner-image-snapshot-testing.js.mdx index df88801ddbbc..dacc97f62d5f 100644 --- a/docs/snippets/common/test-runner-image-snapshot-testing.js.mdx +++ b/docs/snippets/common/test-runner-image-snapshot-testing.js.mdx @@ -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__`;