(num: number)
| 104 | } |
| 105 | |
| 106 | format(num: number): string { |
| 107 | const roundedNum = Math.round(num * 100) / 100; |
| 108 | return roundedNum >= 10 ? roundedNum.toFixed(2) : '0' + roundedNum.toFixed(2); |
| 109 | } |
| 110 | |
| 111 | async runBenchmark(): Promise<void> { |
| 112 | this.isRunningBenchmark = true; |
no outgoing calls
no test coverage detected