Skip to content

Commit 76a6623

Browse files
Update debugging.mdx (#5359)
Fixed example for now(). Co-authored-by: Paul Jaffre <[email protected]>
1 parent 9f01753 commit 76a6623

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/guides/debugging.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ example, to run the equivalent of `cy.task('database', 123)` outside the normal
261261
execution command chain:
262262

263263
```javascript
264-
cy.now('task', 123).then(console.log)
265-
// runs cy.task(123) and prints the resolved value
264+
cy.now('task', 'database', 123).then(console.log)
265+
// runs cy.task('database', 123) and prints the resolved value
266266
```
267267

268268
:::caution

0 commit comments

Comments
 (0)