Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nwalters512/tsx-c8-coverage-repro
https://github.com/nwalters512/tsx-c8-coverage-repro
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nwalters512/tsx-c8-coverage-repro
- Owner: nwalters512
- Created: 2024-05-16T21:31:55.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-16T21:47:33.000Z (6 months ago)
- Last Synced: 2024-10-10T03:10:51.452Z (27 days ago)
- Language: TypeScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tsx-c8-coverage-repro
To reproduce the issue:
- Run `npm install`
- Run `npm run test`
- Observe the following output:```
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files | 100 | 100 | 100 | 100 |
index.ts | 100 | 100 | 100 | 100 |
----------|---------|----------|---------|---------|-------------------
```This should not report 100% coverage, as the `subtract` function in `src/index.ts` is never called.