(relativePath: string)
| 116 | } |
| 117 | |
| 118 | export function isFreeTestFile(relativePath: string): boolean { |
| 119 | const normalized = normalizeRelativePath(relativePath); |
| 120 | if (!TEST_FILE_REGEX.test(normalized)) return false; |
| 121 | return !PAID_EVAL_TESTS.some(pattern => pattern.test(normalized)); |
| 122 | } |
| 123 | |
| 124 | /** |
| 125 | * Returns the first POSIX-only pattern hit in the file, or null if Windows-safe. |
no test coverage detected