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

Method toEqual

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

* Used when you want to check that two objects have the same value. * This matcher recursively checks the equality of all fields, rather than checking for object identity.

(expected: unknown)

Source from the content-addressed store, hash-verified

223 * This matcher recursively checks the equality of all fields, rather than checking for object identity.
224 */
225 toEqual(expected: unknown): R;
226 /**
227 * Ensures that a mock function is called.
228 */

Calls

no outgoing calls

Tested by 10

testPathArrayFunction · 0.64
assertCallsToChildFunction · 0.64
assertCallsToChildFunction · 0.64
setupDuplicatesFunction · 0.64
expectCommonItemsFunction · 0.64
safeExpectEqualFunction · 0.64
assertPrintedJSXFunction · 0.64
testPathFunction · 0.64
defineTestsFunction · 0.64
defineTestsFunction · 0.64