From 12afec953fbb2d36ff06cedffc958e482bfba096 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 16 Jan 2026 00:36:57 +0000 Subject: [PATCH] test: stabilize sandbox config tests --- ....should-allow-agent-specific-docker-settings-beyond.test.ts | 3 +-- ...dbox-config.should-use-agent-specific-workspaceroot.test.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/agents/sandbox-agent-config.agent-specific-sandbox-config.should-allow-agent-specific-docker-settings-beyond.test.ts b/src/agents/sandbox-agent-config.agent-specific-sandbox-config.should-allow-agent-specific-docker-settings-beyond.test.ts index 8f9894395..07162948d 100644 --- a/src/agents/sandbox-agent-config.agent-specific-sandbox-config.should-allow-agent-specific-docker-settings-beyond.test.ts +++ b/src/agents/sandbox-agent-config.agent-specific-sandbox-config.should-allow-agent-specific-docker-settings-beyond.test.ts @@ -49,10 +49,9 @@ vi.mock("../skills.js", async (importOriginal) => { const actual = await importOriginal(); return { ...actual, - syncSkillsToWorkspace: vi.fn(async () => {}), + syncSkillsToWorkspace: vi.fn(async () => undefined), }; }); - describe("Agent-specific sandbox config", () => { beforeEach(() => { spawnCalls.length = 0; diff --git a/src/agents/sandbox-agent-config.agent-specific-sandbox-config.should-use-agent-specific-workspaceroot.test.ts b/src/agents/sandbox-agent-config.agent-specific-sandbox-config.should-use-agent-specific-workspaceroot.test.ts index 2babad8bf..373900d4f 100644 --- a/src/agents/sandbox-agent-config.agent-specific-sandbox-config.should-use-agent-specific-workspaceroot.test.ts +++ b/src/agents/sandbox-agent-config.agent-specific-sandbox-config.should-use-agent-specific-workspaceroot.test.ts @@ -50,10 +50,9 @@ vi.mock("../skills.js", async (importOriginal) => { const actual = await importOriginal(); return { ...actual, - syncSkillsToWorkspace: vi.fn(async () => {}), + syncSkillsToWorkspace: vi.fn(async () => undefined), }; }); - describe("Agent-specific sandbox config", () => { beforeEach(() => { spawnCalls.length = 0;