MCPcopy Index your code
hub / github.com/nodejs/node / testGzipWithOptions

Function testGzipWithOptions

test/parallel/test-stream-iter-transform-sync.js:126–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124// =============================================================================
125
126function testGzipWithOptions() {
127 const input = 'options test data '.repeat(100);
128 const result = roundTrip(input,
129 compressGzipSync({ level: 1 }),
130 decompressGzipSync());
131 assert.strictEqual(result, input);
132}
133
134function testBrotliWithOptions() {
135 const zlib = require('zlib');

Calls 3

compressGzipSyncFunction · 0.85
decompressGzipSyncFunction · 0.85
roundTripFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…