()
| 43 | } |
| 44 | |
| 45 | function testGzipLargeData() { |
| 46 | const input = 'gzip sync large data test. '.repeat(5000); |
| 47 | const result = roundTrip(input, compressGzipSync(), decompressGzipSync()); |
| 48 | assert.strictEqual(result, input); |
| 49 | } |
| 50 | |
| 51 | function testGzipActuallyCompresses() { |
| 52 | const input = 'Repeated data compresses well. '.repeat(1000); |
no test coverage detected
searching dependent graphs…