Skip to main content

matchers

Constants

Functions

isNotUndefined ⇒ Matcher.<T>

Kind: global constant

anyOf(matchers) ⇒ Matcher.<T>

Kind: global function

ParamType
matchersMatcher.<T>

allOf(matchers) ⇒ Matcher.<T>

Kind: global function

ParamType
matchersMatcher.<T>

not(matcher) ⇒ Matcher.<T>

Kind: global function

ParamType
matcherMatcher.<T>

equalTo(thing) ⇒ Matcher.<T>

Kind: global function

ParamType
thingT

notEqualTo(thing) ⇒ Matcher.<T>

Kind: global function

ParamType
thingT

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

ParamType
valueMatcher | T

isIn(array) ⇒ Matcher.<T>

Kind: global function

ParamType
arrayArray.<T>

isOneOf(elements) ⇒ Matcher.<T>

Kind: global function

ParamType
elementsT

describeAs(template, matcher, values) ⇒ Matcher.<T>

Kind: global function

ParamType
templatestring
matcherMatcher.<T>
valuesArray.<T>

anything([message]) ⇒ Matcher.<T>

Kind: global function

ParamType
[message]string

nothing([message]) ⇒ Matcher.<T>

Kind: global function

ParamType
[message]string