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

Function testDeflateLargeData

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

Source from the content-addressed store, hash-verified

78}
79
80function testDeflateLargeData() {
81 const input = 'deflate sync large data test. '.repeat(5000);
82 const result = roundTrip(input, compressDeflateSync(),
83 decompressDeflateSync());
84 assert.strictEqual(result, input);
85}
86
87// =============================================================================
88// Brotli sync round-trip tests

Calls 3

compressDeflateSyncFunction · 0.85
decompressDeflateSyncFunction · 0.85
roundTripFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…