( name: string, testNames: string[], fn: (getWorktreePath: () => string) => void, )
| 323 | * Note: tests with planted-bug fixtures should NOT use this — they need their fixture repos. |
| 324 | */ |
| 325 | export function describeWithWorktree( |
| 326 | name: string, |
| 327 | testNames: string[], |
| 328 | fn: (getWorktreePath: () => string) => void, |
| 329 | ) { |
| 330 | describeIfSelected(name, testNames, () => { |
| 331 | let worktreePath: string; |
| 332 | beforeAll(() => { worktreePath = createTestWorktree(name); }); |
| 333 | afterAll(() => { harvestAndCleanup(name); }); |
| 334 | fn(() => worktreePath); |
| 335 | }); |
| 336 | } |
| 337 | |
| 338 | export { judgePassed } from './eval-store'; |
| 339 | export { EvalCollector } from './eval-store'; |
nothing calls this directly
no test coverage detected