diff --git a/jest.md b/jest.md index 19a2c1582..f1527c460 100644 --- a/jest.md +++ b/jest.md @@ -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 # Run your tests 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) + +### 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 ------ {: .-three-column}