Awesome
code-coverage-subfolder-example
![CircleCI](https://circleci.com/gh/bahmutov/code-coverage-subfolder-example/tree/master.svg?style=svg)
The web "app" is located in app folder. First, you need to instrument it using
$ npm run cc:instrument
The instrumented code is placed into instrumented
folder, including index.html
and main.js
.
Start Cypress with
$ npm run cypress:open
After running the spec file cypress/integration/spec.js the coverage information will be saved in coverage
folder, include HTML report
$ open coverage/lcov-report/index.html
See Cypress Code Coverage Guide and cypress-io/code-coverage for more information.