Skip to content

Commit

Permalink
Update cypress.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed Aug 11, 2024
1 parent 49bff6e commit 01012f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { defineConfig } from "cypress";
import createBundler from "@bahmutov/cypress-esbuild-preprocessor";
import createEsbuildIstanbulPlugin from "./cypress/plugins/esbuild-istanbul";
import codeCoverageTask from "@cypress/code-coverage/task";

async function setupNodeEvents(
on: Cypress.PluginEvents,
config: Cypress.PluginConfigOptions
): Promise<Cypress.PluginConfigOptions> {
await require("@cypress/code-coverage/task")(on, config);
codeCoverageTask(on, config);

on(
"file:preprocessor",
Expand Down

0 comments on commit 01012f9

Please sign in to comment.