()
| 100 | |
| 101 | // Invalid chunkSize throws when transform is invoked |
| 102 | async function testInvalidChunkSize() { |
| 103 | const tx = compressGzip({ chunkSize: 8 }); |
| 104 | await assert.rejects( |
| 105 | async () => await bytes(pull(from('data'), tx)), |
| 106 | { code: 'ERR_OUT_OF_RANGE' }, |
| 107 | ); |
| 108 | } |
| 109 | |
| 110 | Promise.all([ |
| 111 | testAbortMidCompression(), |
no test coverage detected