Skip to content

Commit

Permalink
Add docs for new array matchers
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfcosta committed Dec 25, 2016
1 parent bd9d57f commit 739e4b0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/release-source/release/matchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,26 @@ Requires the value to be a `Function`.
Requires the value to be an `Array`.


#### `sinon.match.array.deepEquals(iterable)`

Requires an iterable value to be deep equal another one.


#### `sinon.match.array.startsWith(iterable)`

Requires an iterable value to start with the same values as another one.


#### `sinon.match.array.endsWith(iterable)`

Requires an iterable value to end with the same values as another one.


#### `sinon.match.array.contains(iterable)`

Requires an iterable value to contain each one of the values the given iterable has.


#### `sinon.match.regexp"

Requires the value to be a regular expression.
Expand Down

0 comments on commit 739e4b0

Please sign in to comment.