Function having the purpose of invoking a matcher.
The matcher can be either synchronous or asynchronous - both cases will be transparently handled.
The result of expect(...) or expect(...).not - so you'll need to call a .toBe|Have|...() matcher on it:
expect(...)
expect(...).not
.toBe|Have|...()
e => e.toBe(90) Copy
e => e.toBe(90)
void - in the case of a synchronous matcher.
void
Promise<void> in the case of an asynchronous matcher.
Promise<void>
Function having the purpose of invoking a matcher.
The matcher can be either synchronous or asynchronous - both cases will be transparently handled.