Skip to content

Commit

Permalink
Generate code coverage reports using nyc (#1170)
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
  • Loading branch information
LucianBuzzo authored and epicfaace committed Feb 12, 2019
1 parent 59038c0 commit bece2a5
Show file tree
Hide file tree
Showing 4 changed files with 1,255 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,7 @@ site
dist
lib
yarn.lock

# Code coverage
coverage
.nyc_output
5 changes: 5 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,11 @@ $ npm test
$ npm run tdd
```

#### Code coverage

Code coverage reports are generated using [nyc](https://github.com/istanbuljs/nyc) each time the `npm test-coverage` script is run.
The full report can be seen by opening `./coverage/lcov-report/index.html`.

### Releasing

```
Expand Down
Loading

0 comments on commit bece2a5

Please sign in to comment.