code-coverage
code-coverage copied to clipboard
Saves the code coverage collected during Cypress tests
**Logs and screenshots** ``` code-coverage combined NYC options { 'report-dir': './coverage', reporter: [ 'lcov', 'json-summary', 'text', 'cobertura' ], extension: [ '.jsx', '.js' ], excludeAfterRemap: false, sourceMap: false, instrument: false }...
# Problem statement When writing an application with `"type": "module"` in `package.json`, it becomes _impossible_ to set the NYC config with JS, since it only supports the `.js` extension and...
**Is your feature request related to a problem? Please describe.** Currently, if you want to have different nyc options for your Cypress tests (for example if you're using a different...
## Fixes error in IDE:  ## Fixes error in CI: ``` /.../cypress/plugins/index.ts 13:3 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call ``` ## Workaround I've been copy-pasting this...
**Logs and screenshots** Please provide debug logs by running Cypress from the terminal with `DEBUG=code-coverage` environment variable set, see the [Debugging](https://github.com/cypress-io/code-coverage#debugging) section of the README file. ``` nchiang@garchomp ~/repos/thavma (master)...
**Versions** "cypress": "^9.1.0", "@cypress/code-coverage": "^3.9.12", **Describe the bug** I have a line in my code : ```js mask += '~`!@#$%^&*()_+-={}[]:";\'?,./|\\'; ``` this is leading to an error : SyntaxError: Unexpected...
**Logs and screenshots** Please provide debug logs by running Cypress from the terminal with `DEBUG=code-coverage` environment variable set, see the [Debugging](https://github.com/cypress-io/code-coverage#debugging) section of the README file. Debug logs ``` code-coverage...
Still have the same issue with code coverage v3.9.12 ``` 208 | }) 209 | cy.task('coverageReport', null, { > 210 | timeout: Cypress.moment.duration(3, 'minutes').asMilliseconds(), | ^ 211 | log: false...
In order to merge Cypress coverage reports with other coverage reports, the [`istanbul-lib-coverage` module needs to be the same version](https://github.com/istanbuljs/nyc/issues/1226#issuecomment-554842393). Cypress, however, hard-locks it at `3.0.0`, when other packages correctly...
Via patch package. ______ Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `@cypress/[email protected]` for the project I'm working on. Here is the diff...