MCPcopy Create free account
hub / github.com/dataform-co/dataform / cleanTiming

Function cleanTiming

tests/api/api.spec.ts:1467–1477  ·  view source on GitHub ↗
(runResult: dataform.IRunResult)

Source from the content-addressed store, hash-verified

1465});
1466
1467function cleanTiming(runResult: dataform.IRunResult) {
1468 const newRunResult = dataform.RunResult.create(runResult);
1469 delete newRunResult.timing;
1470 newRunResult.actions.forEach(actionResult => {
1471 delete actionResult.timing;
1472 actionResult.tasks.forEach(taskResult => {
1473 delete taskResult.timing;
1474 });
1475 });
1476 return newRunResult;
1477}

Callers 1

api.spec.tsFile · 0.85

Calls 1

createMethod · 0.65

Tested by

no test coverage detected