(operation: string, fn: () => Promise<T>)
| 247 | } |
| 248 | |
| 249 | measureAsync<T>(operation: string, fn: () => Promise<T>): Promise<T> { |
| 250 | this.startTimer(operation); |
| 251 | return fn().finally(() => this.endTimer(operation)); |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | function areTimeEntriesEqual(a?: TimeEntry[], b?: TimeEntry[]): boolean { |
no test coverage detected