Skip to content

Commit

Permalink
Merge pull request #20840 from storybookjs/chore_docs_test_runner_add…
Browse files Browse the repository at this point in the history
…_shard_option

Documentation: Add shard option to the test runner documentation
  • Loading branch information
yannbf committed May 8, 2023
2 parents 53fbfef + 0609970 commit 639539c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/writing-tests/test-runner.md
Expand Up @@ -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 <br/>`test-storybook -u` |
| `--eject` | Creates a local configuration file to override defaults of the test-runner <br/>`test-storybook --eject` |
| `--coverage` | Runs [coverage tests](./test-coverage.md) on your stories and components <br/> `test-storybook --coverage` |
| `--shard [index/count]` | Requires CI. Splits the test suite execution into multiple machines <br/> `test-storybook --shard=1/8` |

<!-- prettier-ignore-start -->

Expand Down

0 comments on commit 639539c

Please sign in to comment.