(qualifiedName: string)
| 775 | |
| 776 | /** A qualified name that runs through a test scope — see {@link TEST_SCOPE_SEGMENTS}. */ |
| 777 | export function isTestScope(qualifiedName: string): boolean { |
| 778 | for (const segment of qualifiedName.split(/[.:/\\#>]+/)) { |
| 779 | if (TEST_SCOPE_SEGMENTS.has(segment.toLowerCase())) return true; |
| 780 | } |
| 781 | return false; |
| 782 | } |
| 783 | |
| 784 | /** Code the repository carries rather than owns — see {@link VENDOR_SEGMENTS}. */ |
| 785 | export function isVendoredPath(filePath: string): boolean { |
no test coverage detected