File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- ### Custom argument matchers
1
+ # Custom argument matchers
2
2
3
3
In addition to the built-in argument matchers described along with
4
4
[ stubbing] ( 5-stubbing-results.md#loosening-stubbings-with-argument-matchers ) ,
@@ -17,7 +17,7 @@ actual invocation if it passes lodash's deep
17
17
18
18
The examples in this document assume you've aliased ` testdouble ` to ` td ` .
19
19
20
- #### Example
20
+ ## Example
21
21
22
22
Here's a naive implementation of a matcher named ` isA ` which will check whether
23
23
the expected type of an argument matches the type of the argument actually passed
@@ -44,7 +44,7 @@ datePicker(new Date()) // 'good'
44
44
datePicker (5 ) // undefined
45
45
```
46
46
47
- #### td.matchers.create API
47
+ ## td.matchers.create API
48
48
49
49
The ` create ` function takes a configuration object with the following properties
50
50
You can’t perform that action at this time.
0 commit comments