()
| 118 | } |
| 119 | |
| 120 | async function testArrayAsyncLimit() { |
| 121 | async function* gen() { |
| 122 | yield [new Uint8Array(100)]; |
| 123 | yield [new Uint8Array(100)]; |
| 124 | } |
| 125 | await assert.rejects( |
| 126 | () => array(gen(), { limit: 50 }), |
| 127 | { name: 'RangeError' }, |
| 128 | ); |
| 129 | } |
| 130 | |
| 131 | // ============================================================================= |
| 132 | // Non-array batch tolerance |
no test coverage detected
searching dependent graphs…