()
| 518 | } |
| 519 | |
| 520 | getSnapshot(): StartupTraceSnapshot { |
| 521 | return { |
| 522 | traceId: this.traceId, |
| 523 | phases: { |
| 524 | count: this.phaseEvents, |
| 525 | events: this.phaseRecords.map(record => ({ ...record })), |
| 526 | }, |
| 527 | api: this.buildApiSummary(), |
| 528 | }; |
| 529 | } |
| 530 | |
| 531 | flushSummary(reason: string): void { |
| 532 | if (!this.enabled) { |
no test coverage detected