()
| 91 | |
| 92 | // Gzip with custom chunkSize |
| 93 | async function testGzipWithChunkSize() { |
| 94 | const input = 'chunk size test'; |
| 95 | const c = compressGzip({ chunkSize: 256 }); |
| 96 | const d = decompressGzip({ chunkSize: 256 }); |
| 97 | const result = await roundTrip(input, c, d); |
| 98 | assert.strictEqual(result, input); |
| 99 | } |
| 100 | |
| 101 | // Invalid chunkSize throws when transform is invoked |
| 102 | async function testInvalidChunkSize() { |
no test coverage detected