matchers
Constants
- isNotUndefined ⇒
Matcher.<T>
Functions
-
anyOf(matchers) ⇒
Matcher.<T> -
allOf(matchers) ⇒
Matcher.<T> -
not(matcher) ⇒
Matcher.<T> -
equalTo(thing) ⇒
Matcher.<T> -
notEqualTo(thing) ⇒
Matcher.<T> -
isNull() ⇒
Matcher.<T> -
isNotNull() ⇒
Matcher.<T> -
isUndefined() ⇒
Matcher.<T> -
isDefined() ⇒
Matcher.<T> -
hasItem(value) ⇒
Matcher.<T> -
isIn(array) ⇒
Matcher.<T> -
isOneOf(elements) ⇒
Matcher.<T> -
describeAs(template, matcher, values) ⇒
Matcher.<T> -
anything([message]) ⇒
Matcher.<T> -
nothing([message]) ⇒
Matcher.<T>
isNotUndefined ⇒ Matcher.<T>
Kind: global constant
anyOf(matchers) ⇒ Matcher.<T>
Kind: global function
| Param | Type |
|---|---|
| matchers | Matcher.<T> |
allOf(matchers) ⇒ Matcher.<T>
Kind: global function
| Param | Type |
|---|---|
| matchers | Matcher.<T> |
not(matcher) ⇒ Matcher.<T>
Kind: global function
| Param | Type |
|---|---|
| matcher | Matcher.<T> |
equalTo(thing) ⇒ Matcher.<T>
Kind: global function
| Param | Type |
|---|---|
| thing | T |
notEqualTo(thing) ⇒ Matcher.<T>
Kind: global function
| Param | Type |
|---|---|
| thing | T |
isNull() ⇒ Matcher.<T>
Kind: global function
isNotNull() ⇒ Matcher.<T>
Kind: global function
isUndefined() ⇒ Matcher.<T>
Kind: global function
isDefined() ⇒ Matcher.<T>
Kind: global function
hasItem(value) ⇒ Matcher.<T>
Kind: global function
| Param | Type |
|---|---|
| value | Matcher | T |
isIn(array) ⇒ Matcher.<T>
Kind: global function
| Param | Type |
|---|---|
| array | Array.<T> |
isOneOf(elements) ⇒ Matcher.<T>
Kind: global function
| Param | Type |
|---|---|
| elements | T |
describeAs(template, matcher, values) ⇒ Matcher.<T>
Kind: global function
| Param | Type |
|---|---|
| template | string |
| matcher | Matcher.<T> |
| values | Array.<T> |
anything([message]) ⇒ Matcher.<T>
Kind: global function
| Param | Type |
|---|---|
| [message] | string |
nothing([message]) ⇒ Matcher.<T>
Kind: global function
| Param | Type |
|---|---|
| [message] | string |