Skip to main content

matchers

Constants

isNotUndefinedMatcher.<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

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