From 94347a97f72bbf128b190f531abffdb2cad45a44 Mon Sep 17 00:00:00 2001 From: Kyle Gach Date: Fri, 26 Aug 2022 10:54:43 -0600 Subject: [PATCH] Update test-runner docs - Per https://github.com/storybookjs/test-runner/pull/174, `jest` is no longer a peer dep --- docs/snippets/common/storybook-test-runner-install.npm.js.mdx | 4 ++-- .../snippets/common/storybook-test-runner-install.yarn.js.mdx | 4 ++-- docs/writing-tests/test-runner.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/snippets/common/storybook-test-runner-install.npm.js.mdx b/docs/snippets/common/storybook-test-runner-install.npm.js.mdx index 50b39891c2b2..3d0adeb617dd 100644 --- a/docs/snippets/common/storybook-test-runner-install.npm.js.mdx +++ b/docs/snippets/common/storybook-test-runner-install.npm.js.mdx @@ -1,3 +1,3 @@ ```shell -npm install @storybook/test-runner jest@27 --save-dev -``` \ No newline at end of file +npm install @storybook/test-runner --save-dev +``` diff --git a/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx b/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx index 79840bb5b1b7..21e4620e8113 100644 --- a/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx +++ b/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx @@ -1,3 +1,3 @@ ```shell -yarn add --dev @storybook/test-runner jest@27 -``` \ No newline at end of file +yarn add --dev @storybook/test-runner +``` diff --git a/docs/writing-tests/test-runner.md b/docs/writing-tests/test-runner.md index e72bd8205454..9f1c75915f83 100644 --- a/docs/writing-tests/test-runner.md +++ b/docs/writing-tests/test-runner.md @@ -13,7 +13,7 @@ These tests run in a live browser and can be executed via the [command line](#cl The test-runner is a standalone, framework-agnostic utility that runs parallel to your Storybook. You will need to take some additional steps to set it up properly. Detailed below is our recommendation to configure and execute it. -Run the following command to install it and the required dependencies. +Run the following command to install it.