Const
Asserts that an async iterable rejects during iteration.
await expectAsync(failingStream, 'to reject'); // passes if iteration rejectsawait expectAsync(failingStream, 'to be rejected'); // alias Copy
await expectAsync(failingStream, 'to reject'); // passes if iteration rejectsawait expectAsync(failingStream, 'to be rejected'); // alias
async-iterable-to-reject
iterable
Asserts that an async iterable rejects during iteration.