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