(repo: string)
| 1850 | describe("checkLogicFilesHaveTests", () => { |
| 1851 | test.each(["service", "utils", "jobs", "check"])( |
| 1852 | "flags a *.%s.ts file without a matching test sibling", |
| 1853 | (suffix) => { |
| 1854 | const root = mkdtempSync(join(tmpdir(), "lint-meta-logic-")); |
| 1855 | |
| 1856 | try { |
| 1857 | mkdirSync(join(root, "src", "feature"), { recursive: true }); |
| 1858 | writeFileSync( |
| 1859 | join(root, "src", "feature", `feature.${suffix}.ts`), |
| 1860 | "export const x = 1;\n" |