Skip to content

Commit 29b099a

Browse files
authored
docs: fix typo in intercept for res.body (#6433)
1 parent 6a908a5 commit 29b099a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/api/commands/intercept.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ type CustomResponse = {
7171
cy.intercept<CustomRequest, CustomResponse>(url, (req) => {
7272
req.body // .body of request will be of type CustomRequest
7373
req.continue((res) => {
74-
res.body // .body of request will be of type CustomResponse
74+
res.body // .body of response will be of type CustomResponse
7575
})
7676
})
7777
```

0 commit comments

Comments
 (0)