Const
Asserts that an async iterable yields exactly the specified values in order.
Uses deep equality semantics. The iterable must yield the exact same number of values in the exact same order.
await expectAsync(asyncGen(), 'to yield exactly', [1, 2, 3]); Copy
await expectAsync(asyncGen(), 'to yield exactly', [1, 2, 3]);
async-iterable-to-yield-exactly-array
iterable
Asserts that an async iterable yields exactly the specified values in order.
Uses deep equality semantics. The iterable must yield the exact same number of values in the exact same order.