From 0609970d7854455df8ca16c9d95211d2c081319d Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Mon, 30 Jan 2023 20:29:35 +0000 Subject: [PATCH] Adds shard option to the docs --- docs/writing-tests/test-runner.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/writing-tests/test-runner.md b/docs/writing-tests/test-runner.md index b4ca1507b36d..2d010b3ee428 100644 --- a/docs/writing-tests/test-runner.md +++ b/docs/writing-tests/test-runner.md @@ -95,6 +95,7 @@ If you're already using any of those flags in your project, you should be able t | `-u`, `--updateSnapshot` | Use this flag to re-record every snapshot that fails during this test run
`test-storybook -u` | | `--eject` | Creates a local configuration file to override defaults of the test-runner
`test-storybook --eject` | | `--coverage` | Runs [coverage tests](./test-coverage.md) on your stories and components
`test-storybook --coverage` | +| `--shard [index/count]` | Requires CI. Splits the test suite execution into multiple machines
`test-storybook --shard=1/8` |