()
| 73 | // ============================================================================= |
| 74 | |
| 75 | async function testZlibGzipToNewStreams() { |
| 76 | const gzip = promisify(zlib.gzip); |
| 77 | |
| 78 | const input = 'Reverse compat gzip test. '.repeat(100); |
| 79 | const compressed = await gzip(input); |
| 80 | const result = await text(pull(from(compressed), decompressGzip())); |
| 81 | assert.strictEqual(result, input); |
| 82 | } |
| 83 | |
| 84 | async function testZlibDeflateToNewStreams() { |
| 85 | const deflate = promisify(zlib.deflate); |
no test coverage detected
searching dependent graphs…