c8 icon indicating copy to clipboard operation
c8 copied to clipboard

output coverage reports using Node.js' built in coverage

Results 116 c8 issues
Sort by recently updated
recently updated
newest added

* **Version**: 15.5.1 * **Platform**: Linux Symphorien 4.15.0-132-generic #136-Ubuntu SMP Tue Jan 12 14:58:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux * **c8 version**: 7.4.0, run with extension "mjs" * **mocha...

bug

* **Version**: c8 version 7.3.5 + npm --versions { npm: '7.3.0', node: '15.5.0', v8: '8.6.395.17-node.23', uv: '1.40.0', zlib: '1.2.11', brotli: '1.0.9', ares: '1.17.1', modules: '88', nghttp2: '1.41.0', napi: '7', llhttp:...

bug

This... https://github.com/bcoe/c8/blob/a465b65d907b669714cfc3dca949efd667f499c3/bin/c8.js#L32 could possible be replaced by: ```js await fs.fsPromises.rmdir(argv.tempDirectory, { recursive: true }) ``` if not now, then maybe in the feature when you decide to drop support for...

feature-request

Suppose I'm calling c8 on the commandline: ``` npx c8 --all --exclude npm run test ``` and I want to exclude multiple folders (e.g. `upgrade`, `test`). Based on the documentation...

question

* **Version**: node v14.8 * **Platform**: windows 10 x64 ![image](https://user-images.githubusercontent.com/33423008/90902947-d51f8600-e3ff-11ea-8e89-8c5bbfc6b973.png) ![image](https://user-images.githubusercontent.com/33423008/90902979-e10b4800-e3ff-11ea-8901-00bcf7efb01f.png) ![image](https://user-images.githubusercontent.com/33423008/90903016-ee283700-e3ff-11ea-8f3e-36ba81a821fc.png)

question

When executing this file with c8 I get the coverage information. ```js function run() { if (1) { console.log(1); } else { console.log(2); } } run(); setTimeout(process.exit, 3000) ``` However...

bug

I am having trouble getting ignore rules to work with 1:many source maps. CC: @MoLow

bug

The original [issue logged for ignore rules](https://github.com/bcoe/c8/issues/21) asked for “all of them” but only `c8 ignore next` was added. I didn’t think that was much of a big deal until...

question

* **Version**: 7.2.0 * **Platform**: linux x86_64 When running `c8` with `mocha` for example, as such: `node node_modules/c8/bin/c8 node_modules/mocha/bin/mocha test.js`, it is not guaranty that the same node binary will...

question

Consider the code below. ```js const x = 'asdf' const fn = y => { if (typeof y !== 'object') { y = 'yup' } console.log(y) } fn(x) ``` The...

feature-request
v8