Skip to content

Commit a48b20b

Browse files
committed
fix: update @cypress/grep v6 import paths
Signed-off-by: Alex Piatakov <alex.piatakov@swirldslabs.com>
1 parent cfd8df2 commit a48b20b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

e2e-tests/cypress.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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', {

e2e-tests/cypress/support/e2e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

2929
registerCypressGrep()
3030

0 commit comments

Comments
 (0)