(t, asyncIterable, expectedChunks)
| 41 | }; |
| 42 | |
| 43 | export const assertIterableChunks = async (t, asyncIterable, expectedChunks) => { |
| 44 | t.deepEqual(await arrayFromAsync(asyncIterable), expectedChunks); |
| 45 | }; |
| 46 | |
| 47 | export const assertStreamChunks = async (t, stream, expectedOutput) => { |
| 48 | t.deepEqual(await stream.toArray(), expectedOutput); |
no test coverage detected