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

Function startTest

lib/internal/test_runner/reporter/rerun.js:22–31  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

20 }
21
22 function startTest(data) {
23 const originalSuite = currentSuite;
24 currentSuite = { __proto__: null, data, parent: currentSuite, children: [] };
25 if (originalSuite?.children) {
26 ArrayPrototypePush(originalSuite.children, currentSuite);
27 }
28 if (!currentSuite.parent) {
29 ArrayPrototypePush(roots, currentSuite);
30 }
31 }
32
33 for await (const { type, data } of source) {
34 let currentTest;

Callers 1

reportRerunsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…