edit cypress.config to include code-coverage
This commit is contained in:
parent
0d91da6bbf
commit
d856de30e1
|
|
@ -13,5 +13,13 @@ export default defineConfig({
|
|||
framework: 'vue',
|
||||
bundler: 'vite',
|
||||
},
|
||||
setupNodeEvents(on, config) {
|
||||
require('@cypress/code-coverage/task')(on, config)
|
||||
// include any other plugin code...
|
||||
|
||||
// It's IMPORTANT to return the config object
|
||||
// with any changed environment variables
|
||||
return config
|
||||
}
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue