Skip to content

Commit

Permalink
Add testing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maxatdetroit committed Sep 8, 2023
1 parent 9c07e77 commit bc054fc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,15 @@ This project was created using:
4. Build storybook.
```
$ yarn build-storybook
```
### Testing
Use Storybooks [built-in test-runner](https://storybook.js.org/docs/react/writing-tests/test-runner):
1. Run a local instance of storybook in one process.
2. Invoke the test runner in another. Note: depending on the power of you machine, you may have to reduce concurrent workers to avoid test timeout failures. Use `--maxWorkers=2` to limit the workers to two.
```
$ yarn test-storybook
```

0 comments on commit bc054fc

Please sign in to comment.