Description
Hey there @bahmutov and team,
I've been writing up an internal recipe on how to install Cypress for a Next.js app, along with code coverage, CircleCI and all goodies to have a fully working setup. Here's a few things I noted while following both this repo and some of the other examples (mainly https://github.com/lluia/cypress-typescript-coverage-example):
-
Code coverage instrumentation is served to users, compared to https://github.com/lluia/cypress-typescript-coverage-example/blob/ae6c8a3fc0143f15943ee50e248accb0e011c467/babelrc.js#L4 which is prevent it from being bundled in
-
Cypress 3.8.3 is used which makes the
cypress/plugins/index.js
portion obsolete when using Cypress 4 and up (using4.4.0
here at the moment):module.exports = (on, config) => { require('@cypress/code-coverage/task')(on, config); return config; };
If you agree the repo should be updated to use the latest Cypress version I can open a PR and update it accordingly.
Keep up the good work on Cypress, loving the latest version!