Releases: cypress-io/code-coverage
Releases · cypress-io/code-coverage
v3.0.0
3.0.0 (2020-04-06)
Features
BREAKING CHANGES
- the task sets an environment variable and needs
to return its config. The new registration thus looks like this
// your plugins file
module.exports = (on, config) => {
require('@cypress/code-coverage/task')(on, config)
// IMPORTANT to return the config object
// with the any changed environment variables
return config
}
Support code can check variable Cypress.env('codeCoverageTasksRegistered')
before calling cy.task
-
update readme
-
update examples
-
add small plugins file
-
update readme
-
add example using plugins and support
-
add new example to CI
-
no need to start server in the example
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v2.0.0-beta.2
2.0.0-beta.2 (2020-03-27)
Features
- move istanbul-lib-coverage from peer to prod dependencies (3eb6153)
v2.0.0-beta.1
2.0.0-beta.1 (2020-03-27)
Features
- use nyc directly as a module (7cda182)
BREAKING CHANGES
nyc
is no longer a peer dependency, instead
this module calls its API directly.