MCPcopy
hub / github.com/apache/echarts / eachTask

Function eachTask

test/runTest/cli.js:467–481  ·  view source on GitHub ↗
(testOpt)

Source from the content-addressed store, hash-verified

465 });
466
467 async function eachTask(testOpt) {
468 console.log(`Running test: ${testOpt.name}, renderer: ${program.renderer}, useCoarsePointer: ${program.useCoarsePointer}`);
469 try {
470 await runTest(browser, testOpt, runtimeCode, program.expectedSource, program.expected, program.actualSource, program.actual);
471 }
472 catch (e) {
473 // Restore status
474 testOpt.status = 'unsettled';
475 console.error(e);
476 }
477
478 if (program.save) {
479 process.send(testOpt);
480 }
481 }
482
483 // console.log('Running threads: ', program.threads);
484 // await runTasks(pendingTests, async (testOpt) => {

Callers 1

runTestsFunction · 0.85

Calls 1

runTestFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…