Skip to content

Commit 877d1b1

Browse files
cowboys PR suggestions
1 parent 7c774af commit 877d1b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/api/cypress-api/custom-commands.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ evaluated via an import statement in your
2121
```javascript
2222
Cypress.Commands.add(name, callbackFn)
2323
Cypress.Commands.add(name, options, callbackFn)
24-
Cypress.Commands.addAll(callbackArgs)
25-
Cypress.Commands.addAll(options, callbackArgs)
24+
Cypress.Commands.addAll(callbackObj)
25+
Cypress.Commands.addAll(options, callbackObj)
2626
Cypress.Commands.overwrite(name, callbackFn)
2727
```
2828

@@ -49,7 +49,7 @@ The name of the command you're either adding or overwriting.
4949

5050
Pass a function that receives the arguments passed to the command.
5151

52-
**<Icon name="angle-right"></Icon> callbackArgs** **_(Object)_**
52+
**<Icon name="angle-right"></Icon> callbackObj** **_(Object)_**
5353

5454
An object with `callbackFn`s as properties.
5555

0 commit comments

Comments
 (0)