Const
Function
Asserts that ALL values in a Map, Set, or Array individually match with deep equality.
Uses strict deep-equality semantics — every value must exactly match. Empty collections pass vacuously.
expect([{ a: 1 }, { a: 1 }], 'to have values exhaustively satisfying', { a: 1,}); // passesexpect([{ a: 1, b: 2 }], 'to have values exhaustively satisfying', { a: 1,}); // fails — extra property b Copy
expect([{ a: 1 }, { a: 1 }], 'to have values exhaustively satisfying', { a: 1,}); // passesexpect([{ a: 1, b: 2 }], 'to have values exhaustively satisfying', { a: 1,}); // fails — extra property b
collection-to-have-values-exhaustively-satisfying-any
collections
Asserts that ALL values in a Map, Set, or Array individually match with deep equality.
Uses strict deep-equality semantics — every value must exactly match. Empty collections pass vacuously.