Skip to content

Commit

Permalink
Add docs for new map matchers
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfcosta committed Dec 28, 2016
1 parent 8107bfc commit ea30483
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/release-source/release/matchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,21 @@ Requires an `Array` to end with the same values as another one.
Requires an `Array` to contain each one of the values the given array has.


#### `sinon.match.map"

Requires the value to be a `Map`.


#### `sinon.match.map.deepEquals(map)`

Requires a `Map` to be deep equal another one.


#### `sinon.match.map.contains(map)`

Requires a `Map` to contain each one of the items the given map has.


#### `sinon.match.regexp"

Requires the value to be a regular expression.
Expand Down

0 comments on commit ea30483

Please sign in to comment.