(suiteName?: string, testName?: string)
| 151 | const pendingFailureDurations = new Map<string, number>(); |
| 152 | |
| 153 | function getFailureKey(suiteName?: string, testName?: string): string | null { |
| 154 | if (!suiteName && !testName) { |
| 155 | return null; |
| 156 | } |
| 157 | |
| 158 | return `${suiteName ?? ''}::${testName ?? ''}`.trim().toLowerCase(); |
| 159 | } |
| 160 | |
| 161 | function emitFailureFragment(failure: { |
| 162 | suiteName?: string; |
no outgoing calls
no test coverage detected