Skip to content

Commit efb3539

Browse files
lookfirstswyxio
authored andcommitted
[docs] howto turn off watch mode (#385)
Taken from here: #319 (comment)
1 parent ab54278 commit efb3539

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,13 @@ Examples
450450
451451
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.
452452
453+
If you would like to disable watch mode, this is one way to do it in your `package.json`:
454+
455+
```
456+
"test": "CI=true tsdx test --color"
457+
"test:coverage": "CI=true tsdx test --color --coverage"
458+
```
459+
453460
### `tsdx lint`
454461
455462
```shell

0 commit comments

Comments
 (0)