()
| 46 | } |
| 47 | |
| 48 | async function testMergeEmpty() { |
| 49 | const merged = merge(); |
| 50 | const batches = []; |
| 51 | for await (const batch of merged) { |
| 52 | batches.push(batch); |
| 53 | } |
| 54 | assert.strictEqual(batches.length, 0); |
| 55 | } |
| 56 | |
| 57 | async function testMergeWithAbortSignal() { |
| 58 | const merged = merge(from('data'), { signal: AbortSignal.abort() }); |
no test coverage detected