Skip to content

Commit

Permalink
Fix toIncludeMultiple code example (jest-community#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorBreakfast authored and mattphillips committed Aug 22, 2018
1 parent 71a2e2f commit 1bb532b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -848,8 +848,8 @@ Use `.toIncludeMultiple` when checking if a `String` includes all of the given s
```js
test('passes when value includes all substrings', () => {
expect('hello world').toInclude(['world', 'hello']);
expect('hello world').not.toInclude(['world', 'hello', 'bob']);
expect('hello world').toIncludeMultiple(['world', 'hello']);
expect('hello world').not.toIncludeMultiple(['world', 'hello', 'bob']);
});
```
Expand Down

0 comments on commit 1bb532b

Please sign in to comment.