q9
This commit is contained in:
19
node_modules/eslint-plugin-cypress/docs/rules/no-debug.md
generated
vendored
Normal file
19
node_modules/eslint-plugin-cypress/docs/rules/no-debug.md
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Disallow using `cy.debug()` calls (`cypress/no-debug`)
|
||||
|
||||
<!-- end auto-generated rule header -->
|
||||
It is recommended to remove any [cy.debug](https://on.cypress.io/debug) commands before committing specs to avoid other developers getting unexpected results.
|
||||
|
||||
## Rule Details
|
||||
|
||||
Examples of **incorrect** code for this rule:
|
||||
|
||||
```js
|
||||
cy.debug();
|
||||
cy.get('selector').debug();
|
||||
```
|
||||
|
||||
Examples of **correct** code for this rule:
|
||||
|
||||
```js
|
||||
cy.get('selector')
|
||||
```
|
||||
Reference in New Issue
Block a user