Skip to content

Commit

Permalink
docs: update intercept.mdx (#5485)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinsonRojas authored Oct 11, 2023
1 parent 7da7fb6 commit 444075e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/commands/intercept.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ cy.intercept(
// this example will cause 1 request to `/temporary-error`
// to receive a network error and subsequent requests will
// not match this `RouteMatcher`
cy.intercept('/temporary-error', { times: 1 }, { forceNetworkError: true })
cy.intercept({ url: '/temporary-error', times: 1 }, { forceNetworkError: true })
```

### Pattern Matching
Expand Down

0 comments on commit 444075e

Please sign in to comment.