Don't instrument for coverage by default unless CI

This commit is contained in:
Alex Corey
2021-02-17 16:09:06 -05:00
committed by Jake McDermott
parent 242c4e2533
commit 9090cb830d
3 changed files with 5 additions and 2 deletions

View File

@@ -53,6 +53,9 @@ npm --prefix awx/ui_next test -- src/screens/Login/Login.test.jsx
# start the test watcher and run tests on files that you've changed
npm --prefix awx/ui_next run test-watch
# start the tests and get the coverage report after the tests have completed
npm --prefix awx/ui_next run test -- --coverage
```
#### Note:
- Once the test watcher is up and running you can hit `a` to run all the tests.