Skip to content

Commit 8696387

Browse files
committed
docs: update user guide
1 parent f725f55 commit 8696387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/no-pause.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Examples of **incorrect** code for this rule:
99

1010
```js
1111
cy.pause();
12+
cy.get('selector').pause();
1213
```
1314

1415
Examples of **correct** code for this rule:
1516

1617
```js
17-
// only the parent cy.pause command is detected
18-
cy.get('selector').pause();
18+
cy.get('selector')
1919
```

0 commit comments

Comments
 (0)