Hi thanks for sharing this. I cloned your repo and was struggling to see the results of the coverage, after following all your instructions:
Cannot find coverage file c:\cypress-typescript-coverage-example\.nyc_output\out.json Skipping coverage report
I realised now that when running the actual application in dev mode, that is when the plugins are detected in babel. This is my update. Might be worth
Add dependency - cross-env - or something to enable the variable
yarn add cross-env --save-dev
package.json
"scripts": { "start": "cross-env CODE_COVERAGE=true webpack-dev-server", "test": "nyc --reporter=text-summary cypress run --headless" }
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi thanks for sharing this. I cloned your repo and was struggling to see the results of the coverage, after following all your instructions:
I realised now that when running the actual application in dev mode, that is when the plugins are detected in babel. This is my update. Might be worth
Add dependency - cross-env - or something to enable the variable
package.json