MCPcopy Index your code
hub / github.com/angular/angular-cli / printUpdate

Function printUpdate

scripts/windows-testing/parallel-executor.mjs:46–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 );
45
46 const printUpdate = () => {
47 console.error(`----`);
48 for (const [taskId, status] of Object.entries(progress)) {
49 const durationInMin = (Date.now() - status.startTime) / 1000 / 60;
50 console.error(
51 `Shard #${taskId}: stage ${status.state} | ` +
52 `${status.current}/${status.max} tests completed (${durationInMin.toFixed(2)}min)`,
53 );
54 }
55 };
56
57 const progressInterval = setInterval(printUpdate, 4000);
58

Callers 1

mainFunction · 0.85

Calls 2

errorMethod · 0.65
entriesMethod · 0.45

Tested by

no test coverage detected