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

Function testEmptyInputDeflate

test/parallel/test-stream-iter-transform-roundtrip.js:184–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182}
183
184async function testEmptyInputDeflate() {
185 const result = await roundTrip('', compressDeflate(), decompressDeflate());
186 assert.strictEqual(result, '');
187}
188
189async function testEmptyInputBrotli() {
190 const result = await roundTrip('', compressBrotli(), decompressBrotli());

Calls 3

compressDeflateFunction · 0.85
decompressDeflateFunction · 0.85
roundTripFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…