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

Function testBrotliLargeData

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

Source from the content-addressed store, hash-verified

96}
97
98function testBrotliLargeData() {
99 const input = 'brotli sync large data test. '.repeat(5000);
100 const result = roundTrip(input, compressBrotliSync(),
101 decompressBrotliSync());
102 assert.strictEqual(result, input);
103}
104
105// =============================================================================
106// Zstd sync round-trip tests

Calls 3

compressBrotliSyncFunction · 0.85
decompressBrotliSyncFunction · 0.85
roundTripFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…