Skip to content

Commit 1886564

Browse files
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 <[email protected]>
1 parent 69f7dab commit 1886564

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

npm/grep/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ yarn add -D @cypress/grep
8484
```js
8585
// cypress/support/index.js
8686
// load and register the grep feature using "require" function
87-
// https://github.com/cypress-io/cypress-grep
88-
const registerCypressGrep = require('cypress-grep')
87+
// https://github.com/cypress-io/cypress/tree/develop/npm/grep
88+
const registerCypressGrep = require('@cypress/grep')
8989
registerCypressGrep()
9090

9191
// if you want to use the "import" keyword
92-
import registerCypressGrep from 'cypress-grep'
92+
import registerCypressGrep from '@cypress/grep'
9393
registerCypressGrep()
9494
```
9595

@@ -102,7 +102,7 @@ registerCypressGrep()
102102
{
103103
e2e: {
104104
setupNodeEvents(on, config) {
105-
require('cypress-grep/src/plugin')(config);
105+
require('@cypress/grep/src/plugin')(config);
106106
return config;
107107
},
108108
}

0 commit comments

Comments
 (0)