Knowledgize LogoKnowledgize Logo
Login
Español
Send Us Feedback
Browse KnowledgeSee Learning ToolsTry Rapid RepetitionTake Practice TestPlay Quiz GameStudy Flash Cards
  • Jest
  • Expect

expect.anything
()

0

expect.any
(constructor)

0

expect.array
Containing
(array)

0

expect.assertions
(number)

0

expect.has
Assertions
()

0

expect.not
.arrayContaining
(array)

0

expect.not
.objectContaining
(object)

0

expect.not
.stringContaining
(string)

0

expect.not
.stringMatching
(string | regexp)

0

expect.object
Containing
(object)

0

expect.string
Matching(string | regexp)

0

expect.add
SnapshotSerializer
(serializer)

0

.resolves

0

.rejects

0

.toBe(value)

0

.toHaveBeen
Called()

0

.toHaveBeen
CalledTimes
(number)

0

.toHaveBeen
CalledWith
(ar ...

0

.toHaveBeen
LastCalled
With(ar ...

0

.toHaveBeen
NthCalledWith
(nthCall, ...

0