Skip to content

Commit 79d09a5

Browse files
fsmaiabahmutov
authored andcommitted
fix: update nyc reporter to lcov (#34)
* fix: update nyc reporter to lcov * docs: add LCOV report to README
1 parent 83de1c7 commit 79d09a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = (on, config) => {
3131
}
3232
```
3333

34-
If your application is loaded Istanbul-instrumented source code, then the coverage information will be automatically saved into `.nyc_output` folder and a report will be generated after the tests finish (even in the interactive mode). Find the HTML report in the `coverage` folder.
34+
If your application is loaded Istanbul-instrumented source code, then the coverage information will be automatically saved into `.nyc_output` folder and a report will be generated after the tests finish (even in the interactive mode). Find the LCOV and HTML report in the `coverage/lcov-report` folder.
3535

3636
![Coverage report](images/coverage.jpg)
3737

task.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module.exports = {
7373
return null
7474
}
7575
const command = 'nyc'
76-
const args = ['report', '--reporter=html']
76+
const args = ['report', '--reporter=lcov']
7777
debug('saving coverage report using command: %s %s', command, args)
7878
// should we generate report via NYC module API?
7979
return execa(command, args, { stdio: 'inherit' })

0 commit comments

Comments
 (0)