From d56fcc75bfc5a37b3fbf57ad498455e9c367d8d3 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Fri, 12 Jun 2020 09:59:02 +1000 Subject: [PATCH] Update formatting --- jest.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) 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}