c8
c8 copied to clipboard
output coverage reports using Node.js' built in coverage
when creating my last PR, my editor stripped all trailing whitespace on all lines from the updated snapshot file. Changing `.editorconfig` fixed that ##### Checklist - [x] `npm test`, tests...
fixes #342 ##### Checklist - [x] `npm test`, tests passing - [x] `npm run test:snap` (to update the snapshot) - [x] documentation is changed or added
* **Version**: all * **Platform**: all There is a poorly-documented feature of the HTML Istanbul reporters (html, lcov, html-spa) called "defaultSummarizer". It would be nice if c8 could pass through...
@miyasudokoro this is just a starting point to show how to write the snapshot tests. It's missing docs. And I've never used this feature of istanbul, so it would be...
## c8 + vitest: Some suites get covered other suites ...dont? I'm working on modernizing and open-sourcing some platform... It's test strategy and test suite is built of two layers:...
* **Version**: v22.9.0 * **Platform**: Ubuntu 20.04.6 LTS The `/* c8 ignore next */` comment annotation does not seem to ignore classes or functions. By contrast, the `/* istanbul ignore...