Skip to content

Commit 4c8a7be

Browse files
authored
Correct command syntax
Adds the missing `s` to `Cypress.Command.overwrite()`
1 parent 09be978 commit 4c8a7be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/cypress-api/custom-commands.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ There are two API available for adding custom commands:
1717

1818
- [`Cypress.Commands.add()`](#Syntax) - use to add a custom command to use when
1919
writing tests
20-
- [`Cypress.Command.overwrite()`](#Overwrite-Existing-Commands) - use to
20+
- [`Cypress.Commands.overwrite()`](#Overwrite-Existing-Commands) - use to
2121
override an existing built-in Cypress command or reserved internal function.
2222
**Caution:** this overrides it for Cypress as well and could impact how
2323
Cypress behaves.

0 commit comments

Comments
 (0)