diff --git a/evals/it.ts b/evals/it.ts index 8a29774..e5976c5 100644 --- a/evals/it.ts +++ b/evals/it.ts @@ -41,10 +41,8 @@ declare module "vitest" { } export const it = base.extend<{ - isolateRepo: boolean; agent: (prompt: string) => Promise; }>({ - isolateRepo: true, agent: async ({ home, project, login, task, repo, token, host, password }, use) => { await login(); @@ -102,6 +100,8 @@ export const it = base.extend<{ }, }); +it.scoped({ isolateRepo: true }); + expect.extend({ toHaveRun(result: AgentResult, bin: string, positionals: string[] = []) { const pass = result.commands.some((command) => {