(runResult: dataform.IRunResult)
| 1465 | }); |
| 1466 | |
| 1467 | function 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 | } |