MCPcopy Create free account
hub / github.com/nodejs/node / collectStdout

Function collectStdout

test/parallel/test-runner-v8-deserializer.mjs:34–39  ·  view source on GitHub ↗
(reported)

Source from the content-addressed store, hash-verified

32 Buffer.from(oversizedLengthHeader.subarray(1)).toString('utf-8');
33
34function collectStdout(reported) {
35 return reported
36 .filter((event) => event.type === 'test:stdout')
37 .map((event) => event.data.message)
38 .join('');
39}
40
41describe('v8 deserializer', common.mustCall(() => {
42 let fileTest;

Callers 1

Calls 3

mapMethod · 0.65
filterMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected