Const
Asserts that the first yielded value exhaustively matches.
Uses deep equality semantics.
expect([{ a: 1 }], 'to yield first exhaustively satisfying', { a: 1 }); // passesexpect([{ a: 1, b: 2 }], 'to yield first exhaustively satisfying', { a: 1,}); // fails Copy
expect([{ a: 1 }], 'to yield first exhaustively satisfying', { a: 1 }); // passesexpect([{ a: 1, b: 2 }], 'to yield first exhaustively satisfying', { a: 1,}); // fails
iterable-to-yield-first-exhaustively-satisfying-any
iterable
Asserts that the first yielded value exhaustively matches.
Uses deep equality semantics.