coverallsapp / github-action

Coveralls Github Action
https://coveralls.io
MIT License
458 stars 76 forks source link

Jest Coverage vs Coverals #124

Open jcubic opened 2 years ago

jcubic commented 2 years ago

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?