Skip to content

Commit 45e8a17

Browse files
committed
add small plugins file
1 parent 142072d commit 45e8a17

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

plugins.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// common Cypress plugin file you can point at to have the
2+
// code coverage tasks registered correctly. From your "cypress.json" file
3+
// {
4+
// "pluginsFile": "@cypress/code-coverage/plugins",
5+
// "supportFile": "@cypress/code-coverage/support"
6+
// }
7+
//
8+
module.exports = (on, config) => {
9+
require('./task')(on, config)
10+
// IMPORTANT to return the config object
11+
// with the any changed environment variables
12+
return config
13+
}

0 commit comments

Comments
 (0)