MCPcopy
hub / github.com/jestjs/jest / toBeInstanceOf

Method toBeInstanceOf

packages/expect/src/types.ts:181–181  ·  view source on GitHub ↗

* Ensure that an object is an instance of a class. * This matcher uses `instanceof` underneath.

(expected: unknown)

Source from the content-addressed store, hash-verified

179 * This matcher uses `instanceof` underneath.
180 */
181 toBeInstanceOf(expected: unknown): R;
182 /**
183 * For comparing floating point numbers.
184 */

Calls

no outgoing calls

Tested by 1

setupDuplicatesFunction · 0.64