UNPKG

@cypress/code-coverage

Version:

Saves the code coverage collected during Cypress tests

14 lines (13 loc) 430 B
// common Cypress plugin file you can point at to have the // code coverage tasks registered correctly. From your "cypress.json" file // { // "pluginsFile": "@cypress/code-coverage/plugins", // "supportFile": "@cypress/code-coverage/support" // } // module.exports = (on, config) => { require('./task')(on, config) // IMPORTANT to return the config object // with the any changed environment variables return config }