()
| 338 | } |
| 339 | |
| 340 | private load(): void { |
| 341 | const data = this.storage.load(); |
| 342 | if (data) { |
| 343 | this.limits = data.limits; |
| 344 | this.history = data.history; |
| 345 | this.cleanup(); |
| 346 | } |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | export function formatDuration(seconds: number): string { |
no test coverage detected