Skip to content

Commit

Permalink
docs: fix api/expect.[toHaveReturnedWith, toHaveLastReturnedWith] pro…
Browse files Browse the repository at this point in the history
…cuct -> product (#1275)
  • Loading branch information
BluesYoung-web committed May 9, 2022
1 parent a2f17b0 commit 9695c6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/index.md
Expand Up @@ -1173,7 +1173,7 @@ When you use `test` in the top level of file, they are collected as part of the

sell('apples')

expect(sell).toHaveReturnedWith({ procuct: 'apples' })
expect(sell).toHaveReturnedWith({ product: 'apples' })
})
```

Expand All @@ -1192,7 +1192,7 @@ When you use `test` in the top level of file, they are collected as part of the
sell('apples')
sell('bananas')

expect(sell).toHaveLastReturnedWith({ procuct: 'bananas' })
expect(sell).toHaveLastReturnedWith({ product: 'bananas' })
})
```

Expand Down

0 comments on commit 9695c6c

Please sign in to comment.