test: stabilize sandbox config tests

This commit is contained in:
Peter Steinberger
2026-01-16 00:36:57 +00:00
parent 8e2707e232
commit 12afec953f
2 changed files with 2 additions and 4 deletions

View File

@@ -49,10 +49,9 @@ vi.mock("../skills.js", async (importOriginal) => {
const actual = await importOriginal<typeof import("../skills.js")>();
return {
...actual,
syncSkillsToWorkspace: vi.fn(async () => {}),
syncSkillsToWorkspace: vi.fn(async () => undefined),
};
});
describe("Agent-specific sandbox config", () => {
beforeEach(() => {
spawnCalls.length = 0;

View File

@@ -50,10 +50,9 @@ vi.mock("../skills.js", async (importOriginal) => {
const actual = await importOriginal<typeof import("../skills.js")>();
return {
...actual,
syncSkillsToWorkspace: vi.fn(async () => {}),
syncSkillsToWorkspace: vi.fn(async () => undefined),
};
});
describe("Agent-specific sandbox config", () => {
beforeEach(() => {
spawnCalls.length = 0;