c8
c8 copied to clipboard
output coverage reports using Node.js' built in coverage
## Environment * **Version**: Node.js v18.14.2 * **Platform**: OSX 13.2.1 (Darwin macik.local 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:42:11 PST 2023; root:xnu-8792.81.3~2/RELEASE_X86_64 x86_64) ## Report Example With no...
### Reproduce ```json "c8": { "report-dir": "./build/coverage", "reporter": ["lcov"] }, "scripts": { "test": "c8 tsx --test-reporter spec path/to/foobar.test.mts" ``` ```sh $ npm test ... $ grep SF: build/coverage/lcov.info $ ```...
In typescript, `as const` is being flagged as uncovered even though it's part of typescript and not testable as far as I'm aware. ```ts export const QueryModeValues = ['button', 'live']...
* **Version**: N/A * **Platform**: N/A I came across [eslint-plugin-istanbul](https://github.com/istanbuljs/eslint-plugin-istanbul#readme) which has rules around ignore comments. I did not see an `eslint-plugin-c8` ([404 link](https://www.npmjs.com/package/eslint-plugin-c8)), so I figured I would ask...
* **Version**: v18.12.1 * **Platform**: Linux ---- 5.10.0-9-amd64 1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux Hey! I am using Mocha,Chai and Sinon with TypeScript 4.8 on Node 18.12. My code...
# Improve code quality by increasing code coverage Updated: 2023-02-09 9:58 PM EST * **Version**: All * **Platform**: Linux 5.15.79.1-microsoft-standard-WSL2 Wed Nov 23 01:01:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux...
After starting the Koa service, the browser accesses port 3000, and then checks the c8 report and finds that it has no effect
* **Version**: 7.12.0 * **Platform**: Windows I have an Angular app for which I'm running BDD tests with cucumberjs + Playwright and what I need is to know how much...
* **Version**: 16.13.1 * **Platform**: Windows/Linux Hi, I am not sure if this is the right spot but I suppose that my issue lies in c8 or something that c8...
We've had a few requests for yaml and .js configuration files: https://github.com/bcoe/c8/issues/425 https://github.com/bcoe/c8/issues/420 --- One issue with .yaml is that the available yaml parsers are massive, 10x the size of...