File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11import { defineConfig } from "cypress" ;
2- import * as browserify from "@cypress/browserify-preprocessor" ;
32import { addCucumberPreprocessorPlugin } from "@badeball/cypress-cucumber-preprocessor" ;
4- import { preprocessor } from "@badeball/cypress-cucumber-preprocessor/browserify" ;
3+ import browserify from "@badeball/cypress-cucumber-preprocessor/browserify" ;
54
6- export async function setupNodeEvents (
5+ async function setupNodeEvents (
76 on : Cypress . PluginEvents ,
87 config : Cypress . PluginConfigOptions
98) : Promise < Cypress . PluginConfigOptions > {
109 await addCucumberPreprocessorPlugin ( on , config ) ;
1110
1211 on (
1312 "file:preprocessor" ,
14- preprocessor ( config , {
15- ...browserify . defaultOptions ,
13+ browserify ( config , {
1614 typescript : require . resolve ( "typescript" ) ,
1715 } )
1816 ) ;
Original file line number Diff line number Diff line change 11import { defineConfig } from "cypress" ;
22import createBundler from "@bahmutov/cypress-esbuild-preprocessor" ;
33import { addCucumberPreprocessorPlugin } from "@badeball/cypress-cucumber-preprocessor" ;
4- import { createEsbuildPlugin } from "@badeball/cypress-cucumber-preprocessor/esbuild" ;
4+ import createEsbuildPlugin from "@badeball/cypress-cucumber-preprocessor/esbuild" ;
55
6- export async function setupNodeEvents (
6+ async function setupNodeEvents (
77 on : Cypress . PluginEvents ,
88 config : Cypress . PluginConfigOptions
99) : Promise < Cypress . PluginConfigOptions > {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { defineConfig } from "cypress";
22import * as webpack from "@cypress/webpack-preprocessor" ;
33import { addCucumberPreprocessorPlugin } from "@badeball/cypress-cucumber-preprocessor" ;
44
5- export async function setupNodeEvents (
5+ async function setupNodeEvents (
66 on : Cypress . PluginEvents ,
77 config : Cypress . PluginConfigOptions
88) : Promise < Cypress . PluginConfigOptions > {
You can’t perform that action at this time.
0 commit comments