github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Jest Coverage vs Coverals

Open jcubic opened this issue 3 years ago • 0 comments

I have a project that shows the coverage of 72%:

Coverage Status

But jest stats in the console shows 75%

-----------|---------|----------|---------|---------|---------------------
File       | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s   
-----------|---------|----------|---------|---------|---------------------
All files  |   75.81 |    62.67 |   86.09 |   76.72 |                     
 index.js  |     100 |      100 |     100 |     100 |                     
 parser.js |   75.77 |    62.67 |   85.93 |   76.68 | ...9-6950,7065-7069 
-----------|---------|----------|---------|---------|---------------------

Why there is such a difference? Is this a bug?

jcubic avatar Jun 10 '22 08:06 jcubic