Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,16 @@ 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"
If you would like to disable watch mode, you can set the environment variable `CI=true`. For instance, you could set up your `package.json` `scripts` like:

```json
{
"scripts": {
"test": "CI=true tsdx test",
"test:watch": "tsdx test",
"test:coverage": "CI=true tsdx test --coverage"
}
}
```

### `tsdx lint`
Expand Down