Skip to content

Repo to just reproduce the coverage issue between c8 and tsx

Notifications You must be signed in to change notification settings

rozzilla/c8-tsx-coverage-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c8-tsx-coverage-issue

To reproduce the coverage issue between c8 and tsx, run the following commands:

npm i
npm run test:coverage

You will see that, even though the index.ts is fully tested, the 1st line is uncovered:

----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files |     100 |     87.5 |     100 |     100 |
 index.ts |     100 |     87.5 |     100 |     100 | 1
----------|---------|----------|---------|---------|-------------------

About

Repo to just reproduce the coverage issue between c8 and tsx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published