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

Function roundTrip

test/parallel/test-stream-iter-transform-coverage.js:27–29  ·  view source on GitHub ↗
(input, compress, decompress)

Source from the content-addressed store, hash-verified

25const { constants } = require('zlib');
26
27async function roundTrip(input, compress, decompress) {
28 return text(pull(from(input), compress, decompress));
29}
30
31// Abort mid-compression triggers finally cleanup
32async function testAbortMidCompression() {

Callers 5

testGzipWithStrategyFunction · 0.70
testBrotliWithParamsFunction · 0.70
testZstdWithParamsFunction · 0.70
testGzipWithChunkSizeFunction · 0.70

Calls 3

pullFunction · 0.70
textFunction · 0.50
fromFunction · 0.50

Tested by

no test coverage detected