File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ module.exports = defineConfig({
6767 config . env . grepFilterSpecs = config . env . grepFilterSpecs . toLowerCase ( ) === 'true' ;
6868 }
6969
70- require ( '@cypress/grep/src/ plugin' ) ( config ) ;
70+ require ( '@cypress/grep/plugin' ) . plugin ( config ) ;
7171 require ( 'cypress-mochawesome-reporter/plugin' ) ( on ) ;
7272 on ( 'task' , verifyDownloadTasks ) ;
7373 on ( 'task' , {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import "cypress-mochawesome-reporter/register";
2424// load and register the grep feature using "require" function
2525// https://github.com/cypress-io/cypress-grep
2626
27- const registerCypressGrep = require ( '@cypress/grep' )
27+ const { register : registerCypressGrep } = require ( '@cypress/grep' )
2828
2929registerCypressGrep ( )
3030
You can’t perform that action at this time.
0 commit comments