Const
Asserts that an iterable yields values that satisfy the expected sequence.
Uses satisfy/partial matching semantics on the collected array.
expect([{ a: 1, b: 2 }], 'to yield sequence satisfying', [{ a: 1 }]); // passesexpect([1, 2, 3], 'to yield array satisfying', [1, 2, 3]); // passes Copy
expect([{ a: 1, b: 2 }], 'to yield sequence satisfying', [{ a: 1 }]); // passesexpect([1, 2, 3], 'to yield array satisfying', [1, 2, 3]); // passes
iterable-to-yield-sequence-satisfying-array
iterable
Asserts that an iterable yields values that satisfy the expected sequence.
Uses satisfy/partial matching semantics on the collected array.