Skip to content

Commit

Permalink
jest libdef: Add .toIncludeSameMembers.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbobbe committed Dec 8, 2020
1 parent 9c2e747 commit 48bdc88
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flow-typed/jest_v26.x.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,11 @@ type JestExtendedMatchersType = {
* @param {Array.<*>} members
*/
toIncludeAnyMembers(members: any[]): void,
/**
* Use `.toIncludeSameMembers` when checking if two arrays contain equal values, in any order.
* @param {Array.<*>} members
*/
toIncludeSameMembers(members: any[]): void,
/**
* Use `.toSatisfyAll` when you want to use a custom matcher by supplying a predicate function that returns a `Boolean` for all values in an array.
* @param {Function} predicate
Expand Down

0 comments on commit 48bdc88

Please sign in to comment.