Skip to content

Commit

Permalink
Update UsingMatchers.md (#10161)
Browse files Browse the repository at this point in the history
Co-authored-by: ran shapiro <[email protected]>
  • Loading branch information
ArieShapiro and ran shapiro authored Jun 16, 2020
1 parent 7192a3e commit 852819a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/UsingMatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ test('the shopping list has beer on it', () => {

## Exceptions

If you want to test that a particular function throws an error when it's called, use `toThrow`.
If you want to test whether a particular function throws an error when it's called, use `toThrow`.

```js
function compileAndroidCode() {
Expand Down

0 comments on commit 852819a

Please sign in to comment.