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

Function finish_test

test/parallel/test-cluster-worker-exit.js:104–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 }));
103
104 const finish_test = () => {
105 try {
106 checkResults(expected_results, results);
107 } catch (exc) {
108 if (exc.name !== 'AssertionError') {
109 console.trace(exc);
110 }
111
112 process.exit(1);
113 return;
114 }
115 process.exit(0);
116 };
117}
118
119// Some helper functions ...

Callers 1

Calls 3

checkResultsFunction · 0.70
traceMethod · 0.45
exitMethod · 0.45

Tested by

no test coverage detected