Skip to content

Instantly share code, notes, and snippets.

@heddendorp
Created March 9, 2023 13:43
Show Gist options
  • Select an option

  • Save heddendorp/16e0002cb29b412f2cb8f274cef217b9 to your computer and use it in GitHub Desktop.

Select an option

Save heddendorp/16e0002cb29b412f2cb8f274cef217b9 to your computer and use it in GitHub Desktop.
COverage plugin registration
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