From c5c0eba79726c02761b726027048c09362b98000 Mon Sep 17 00:00:00 2001 From: LukeParkerDev <10430890+Hona@users.noreply.github.com> Date: Fri, 6 Mar 2026 11:19:06 +1000 Subject: [PATCH] fix(test): suppress cleanup errors in fixture to avoid masking test failures --- packages/opencode/test/fixture/fixture.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/opencode/test/fixture/fixture.ts b/packages/opencode/test/fixture/fixture.ts index aed7add343..185b32b38a 100644 --- a/packages/opencode/test/fixture/fixture.ts +++ b/packages/opencode/test/fixture/fixture.ts @@ -60,8 +60,8 @@ export async function tmpdir(options?: TmpDirOptions) { try { await options?.dispose?.(realpath) } finally { - if (options?.git) await stop(realpath) - await clean(realpath) + if (options?.git) await stop(realpath).catch(() => undefined) + await clean(realpath).catch(() => undefined) } }, path: realpath,