Skip to content

Commit

Permalink
Add yarn build to README
Browse files Browse the repository at this point in the history
On a fresh checkout of the project, the test commands will fail with `ReferenceError: Pretender is not defined` until `yarn build` has been run once to build pretender out to `dist/`. This change documents that requirement in the contribution section of the README.
  • Loading branch information
elwayman02 committed Aug 4, 2021
1 parent 61d1039 commit af052bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ server.shutdown(); // all done.

## Running tests

* `yarn build` builds pretender so it can be loaded by the tests
* `yarn test` runs tests once
* `yarn test:server` runs and reruns on changes

Expand Down

0 comments on commit af052bd

Please sign in to comment.