-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Labels
Description
- v10.15.1:
- Linux home 4.18.0-16-generic fix: make tests run on Windows #17-Ubuntu SMP Fri Feb 8 00:06:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux:
nyc reports 100% coverage when c8 reports only 75% coverage.
$ cat t.js
t()
function t () {
return 42
}
$ ./node_modules/.bin/c8 node t.js
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 100 | 75 | 100 | 100 | |
t.js | 100 | 75 | 100 | 100 | 3 |
----------|----------|----------|----------|----------|-------------------|
$ node --version
v10.15.1
$ ./node_modules/.bin/c8 --version
3.4.0
Reactions are currently unavailable