(durationMS: number)
| 105 | } |
| 106 | |
| 107 | function executionTime(durationMS: number) { |
| 108 | return (durationMS / 1000).toLocaleString('en-US', { |
| 109 | useGrouping: false, |
| 110 | maximumFractionDigits: 10, |
| 111 | }) |
| 112 | } |
| 113 | |
| 114 | export function getDuration(task: Task): string | undefined { |
| 115 | const duration = task.result?.duration ?? 0 |
no outgoing calls
no test coverage detected