Function: objectContaining()
objectContaining<
T>(expectedValue):any
Defined in: ts-mockito.ts:302
Argument matcher: matches any object that contains at least the given properties — a partial match, unlike deepEqual which requires full equality.
Type Parameters
T
T extends Object
Parameters
expectedValue
T
the properties the actual argument must contain
Returns
any