Skip to content

Commit

Permalink
Fix typo in ExpectAPI.md (jestjs#6700)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehern authored and SimenB committed Jul 16, 2018
1 parent d05e53a commit 1cc7dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ExpectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test('even and odd numbers', () => {
});
```

`expect.extends` also supports async matchers. Async matchers return a Promise so you will need to await the returned value. Let's use an example matcher to illustrate the usage of them. We are going to implement a very similar matcher than `toBeDivisibleBy`, only difference is that the divisible number is going to be pulled from an external source.
`expect.extend` also supports async matchers. Async matchers return a Promise so you will need to await the returned value. Let's use an example matcher to illustrate the usage of them. We are going to implement a very similar matcher than `toBeDivisibleBy`, only difference is that the divisible number is going to be pulled from an external source.

```js
expect.extend({
Expand Down

0 comments on commit 1cc7dbf

Please sign in to comment.