method
test.AsymmetricMatchersBuiltin.objectContaining
obj: object
): any;
Matches any object that recursively matches the provided keys.
Optionally, pass a type for the object as a generic argument. This ensures that the object contains the desired structure.