Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update README.md w new references to @cypress/grep #24476

Merged
merged 4 commits into from Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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