Rename coverage to test-coverage and document

This commit is contained in:
Daniel Imms
2018-04-13 10:53:45 -07:00
parent 7e8dd9647f
commit 82c16dee73
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -209,6 +209,7 @@ Tests are run using the following npm scripts:
- `npm test`: This will run both unit tests and the linter
- `npm run test-suite <file>`: This will run all tests within a particular file, &lt;file&gt; is the test file name excluding the extension (eg. "Linkifier.test")
- `npm run test-debug`: This will run unit tests with `--inspect-brk`, this can then be automatically debugged using [VS Code auto attach](https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_auto-attach-feature) or manually attached to by a debugger
- `npm run test-coverage`: This will run all unit tests and produce a coverage report
- `npm run lint`: This will run the linter only
## Releases