Powered by
Sorry but I tried everything that is listed to mak...
# e2e-testing
c
cool-application-67821
06/04/2021, 5:28 PM
Sorry but I tried everything that is listed to make sure my react app is instrumented using
https://docs.cypress.io/guides/tooling/code-coverage#Using-code-transpilation-pipeline
and not using nyc. Step1: Added istanbul to babelrc so it looks like below now Step 2: Cypress open step 3: When running a e2e test using visit() check for window.__coverage__ under App: as specificed here
https://github.com/cypress-io/code-coverage#instrument-your-application
But i dont see window.__coverage__ What am i missing?
Previous
Next