From 18865644090458b850b0cab1fc3c93a86526fe89 Mon Sep 17 00:00:00 2001 From: Will <97447607+will-banked@users.noreply.github.com> Date: Tue, 8 Nov 2022 18:31:51 +0000 Subject: [PATCH] docs: Update @cypress/grep README install instructions (#24484) Swaps out references of 'cypress-grep' for '@cypress/grep' in the installation section of the README Co-authored-by: Emily Rohrbough --- npm/grep/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/npm/grep/README.md b/npm/grep/README.md index 9466d08098de..7114b854bed9 100644 --- a/npm/grep/README.md +++ b/npm/grep/README.md @@ -84,12 +84,12 @@ yarn add -D @cypress/grep ```js // cypress/support/index.js // load and register the grep feature using "require" function -// https://github.com/cypress-io/cypress-grep -const registerCypressGrep = require('cypress-grep') +// https://github.com/cypress-io/cypress/tree/develop/npm/grep +const registerCypressGrep = require('@cypress/grep') registerCypressGrep() // if you want to use the "import" keyword -import registerCypressGrep from 'cypress-grep' +import registerCypressGrep from '@cypress/grep' registerCypressGrep() ``` @@ -102,7 +102,7 @@ registerCypressGrep() { e2e: { setupNodeEvents(on, config) { - require('cypress-grep/src/plugin')(config); + require('@cypress/grep/src/plugin')(config); return config; }, }