-
Notifications
You must be signed in to change notification settings - Fork 111
The index.html show unknown% and a blank report even after out.json has data. #227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you include DEBUG logs please https://github.com/cypress-io/code-coverage#debugging or give a link to the repo? |
I'm experiencing a similar problem. The file |
What is the situation with this, I get same behaviour as described above, html report is generated, also nyc out.json, but nyc command line tool bundled within generates always 'Unknown' for code coverage? Versions:
|
@bahmutov bahmutov what could be the reason for this? Could you provide a solution for this |
@Isurunc I don't maintain this plugin, I have my own fork here https://github.com/bahmutov/cypress-code-coverage |
thanks. will check |
Out.json

Versions
nyc comes with cypress code-coverage plugin
Node version - 12.14.1
NPM version - 6.13.4
Angular version - 6.2.9
How do you instrument your application- using istanbul-instrumenter-loader and following bahmutov`s project. https://github.com/bahmutov/cypress-angular-coverage-example
window.__coverage__
object was successfully create, cant paste here..!.nyc_output
package.json
-NoI am working on angular app, using typescript and ts-loader. I am able to successfully instrument code. The folder structure is something like this.
Code folder: Project/projects/feature-x/src/app
Cypress folder: Project/projects/feature-cypress/cypress.
Coverage.webpack.js is parallel to cypress folder.
The text was updated successfully, but these errors were encountered: