Skip to content

Commit

Permalink
docs: update references to @cypress/grep
Browse files Browse the repository at this point in the history
  • Loading branch information
builtbylane committed Oct 31, 2022
1 parent bf5fbb5 commit 2084c37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions npm/grep/README.md
Expand Up @@ -85,11 +85,11 @@ yarn add -D @cypress/grep
// 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')
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()
```

Expand All @@ -102,7 +102,7 @@ registerCypressGrep()
{
e2e: {
setupNodeEvents(on, config) {
require('cypress-grep/src/plugin')(config);
require('@cypress/grep/src/plugin')(config);
return config;
},
}
Expand Down
2 changes: 1 addition & 1 deletion npm/grep/src/support.js
Expand Up @@ -4,7 +4,7 @@
const { parseGrep, shouldTestRun } = require('./utils')
// @ts-ignore
const { version } = require('../package.json')
const debug = require('debug')('cypress-grep')
const debug = require('debug')('@cypress/grep')

debug.log = console.info.bind(console)

Expand Down

0 comments on commit 2084c37

Please sign in to comment.