Created
March 9, 2023 13:43
-
-
Save heddendorp/16e0002cb29b412f2cb8f274cef217b9 to your computer and use it in GitHub Desktop.
COverage plugin registration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/cypress.config.js b/cypress.config.js | |
| index c38bcbc..bb8c107 100644 | |
| --- a/cypress.config.js | |
| +++ b/cypress.config.js | |
| @@ -36,6 +36,7 @@ module.exports = defineConfig({ | |
| 'enable-feature': (feature) => | |
| fetch(BASE_URL + `/e2e/enable-feature/${feature}`, { method: 'POST' }), | |
| }); | |
| + require('@heddendorp/per-test-v8-cov/plugin')(on, config); | |
| }, | |
| }, | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment