()
| 57 | |
| 58 | // Gzip with explicit strategy option |
| 59 | async function testGzipWithStrategy() { |
| 60 | const input = 'strategy test data '.repeat(100); |
| 61 | const c = compressGzip({ strategy: constants.Z_DEFAULT_STRATEGY }); |
| 62 | const result = await roundTrip(input, c, decompressGzip()); |
| 63 | assert.strictEqual(result, input); |
| 64 | } |
| 65 | |
| 66 | // Deflate with Z_FIXED strategy |
| 67 | async function testDeflateWithFixedStrategy() { |
no test coverage detected