Const
Asserts that an async iterable yields values that satisfy the expected sequence.
Uses satisfy/partial matching semantics on the collected array.
await expectAsync(asyncGen(), 'to yield sequence satisfying', [ { type: 'start' }, { type: 'end' },]); Copy
await expectAsync(asyncGen(), 'to yield sequence satisfying', [ { type: 'start' }, { type: 'end' },]);
async-iterable-to-yield-sequence-satisfying-array
iterable
Asserts that an async iterable yields values that satisfy the expected sequence.
Uses satisfy/partial matching semantics on the collected array.