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

Function runSuite

test/v8-updates/test-linux-perf-logger.js:149–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147}
148
149function runSuite() {
150 const failures = [];
151
152 for (const tc of testCases) {
153 const report = runTest(tc);
154 if (report.errors.length > 0) {
155 failures.push(report);
156 }
157 }
158
159 const errorsToReport = failures.map(serializeError).join('\n--------\n');
160
161 assert.strictEqual(failures.length, 0, `${failures.length} tests failed\n\n${errorsToReport}`);
162}
163
164runSuite();

Callers 1

Calls 4

runTestFunction · 0.70
mapMethod · 0.65
pushMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected