Skip to content

Commit

Permalink
[docs] howto turn off watch mode
Browse files Browse the repository at this point in the history
Taken from here: jaredpalmer#319 (comment)
  • Loading branch information
lookfirst authored Dec 20, 2019
1 parent ab54278 commit 2102706
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,13 @@ Examples
This runs Jest v24.x in watch mode. See [https://jestjs.io](https://jestjs.io) for options. If you are using the React template, jest uses the flag `--env=jsdom` by default.
If you would like to disable watch mode, this is one way to do it in your `package.json`:
```
"test": "CI=true tsdx test --color"
"test:coverage": "CI=true tsdx test --color --coverage"
```
### `tsdx lint`
```shell
Expand Down

0 comments on commit 2102706

Please sign in to comment.