Skip to content

Commit

Permalink
Merge pull request #88 from maxatdetroit/Docs.2
Browse files Browse the repository at this point in the history
Add testing docs
jedgar1mx authored Sep 8, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 9c07e77 + bc054fc commit 35d0c24
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
@@ -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 35d0c24

Please sign in to comment.