()
| 100 | } |
| 101 | |
| 102 | async function testZlibZstdToNewStreams() { |
| 103 | const zstdCompress = promisify(zlib.zstdCompress); |
| 104 | |
| 105 | const input = 'Reverse compat zstd test. '.repeat(100); |
| 106 | const compressed = await zstdCompress(input); |
| 107 | const result = await text(pull(from(compressed), decompressZstd())); |
| 108 | assert.strictEqual(result, input); |
| 109 | } |
| 110 | |
| 111 | // ============================================================================= |
| 112 | // Run all tests |
no test coverage detected