@cypress/code-coverage
Version:
Saves the code coverage collected during Cypress tests
15 lines (13 loc) • 395 B
JavaScript
const { defineConfig } = require('cypress')
module.exports = defineConfig({
viewportHeight: 200,
viewportWidth: 200,
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
baseUrl: 'http://localhost:1234'
}
})