We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49bff6e commit 01012f9Copy full SHA for 01012f9
cypress.config.ts
@@ -1,12 +1,13 @@
1
import { defineConfig } from "cypress";
2
import createBundler from "@bahmutov/cypress-esbuild-preprocessor";
3
import createEsbuildIstanbulPlugin from "./cypress/plugins/esbuild-istanbul";
4
+import codeCoverageTask from "@cypress/code-coverage/task";
5
6
async function setupNodeEvents(
7
on: Cypress.PluginEvents,
8
config: Cypress.PluginConfigOptions
9
): Promise<Cypress.PluginConfigOptions> {
- await require("@cypress/code-coverage/task")(on, config);
10
+ codeCoverageTask(on, config);
11
12
on(
13
"file:preprocessor",
0 commit comments