(rawSuiteName: string)
| 56 | } |
| 57 | |
| 58 | function normalizeSuiteName(rawSuiteName: string): string { |
| 59 | const parts = rawSuiteName.split('.').filter(Boolean); |
| 60 | const normalized = parts.length >= 2 ? (parts.at(-1) ?? rawSuiteName) : rawSuiteName; |
| 61 | return normalized.replaceAll('_', ' '); |
| 62 | } |
| 63 | |
| 64 | export function parseRawTestName(rawName: string): { suiteName?: string; testName: string } { |
| 65 | const objcMatch = rawName.match(/^-\[(.+?)\s+(.+)\]$/u); |
no outgoing calls
no test coverage detected