Update formatting

This commit is contained in:
Rico Sta. Cruz 2020-06-12 09:59:02 +10:00 committed by GitHub
parent 9254692750
commit d56fcc75bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 8 deletions

17
jest.md
View File

@ -28,14 +28,6 @@ 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
@ -101,6 +93,15 @@ it.skip(···) // alias: xit()
See: [test.skip](http://facebook.github.io/jest/docs/en/api.html#testskipname-fn) See: [test.skip](http://facebook.github.io/jest/docs/en/api.html#testskipname-fn)
### Optional flags
| Flag | Description |
| --------------------- | ---------------------------------------- |
| `--coverage` | See a summary of test coverage |
| `--detectOpenHandles` | See a summary of ports that didn't close |
| `--runInBand` | Run all tests one after the other |
Expect Expect
------ ------
{: .-three-column} {: .-three-column}