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

Function stdout

test/es-module/test-import-require-tla-twice.js:16–19  ·  view source on GitHub ↗
(output)

Source from the content-addressed store, hash-verified

14 ],
15 {
16 stdout(output) {
17 const matches = output.matchAll(/e\.code === ERR_REQUIRE_ASYNC_MODULE true/g);
18 assert.strictEqual([...matches].length, 2);
19 },
20 }
21);

Callers

nothing calls this directly

Calls 1

matchAllMethod · 0.65

Tested by

no test coverage detected