parent
cb4e03077f
commit
9254692750
8
jest.md
8
jest.md
|
@ -28,6 +28,14 @@ npm install --save-dev jest babel-jest
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Optional Flags
|
||||||
|
```
|
||||||
|
**--coverage** : See a summary of test coverage
|
||||||
|
**--detectOpenHandles**: See a summary of ports that did not close
|
||||||
|
**--runInBand**: Run all tests one after the other.
|
||||||
|
npm test + [flag]
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Run your tests
|
# Run your tests
|
||||||
npm test -- --watch
|
npm test -- --watch
|
||||||
|
|
Loading…
Reference in New Issue