test: stabilize sandbox config tests
This commit is contained in:
@@ -49,10 +49,9 @@ vi.mock("../skills.js", async (importOriginal) => {
|
|||||||
const actual = await importOriginal<typeof import("../skills.js")>();
|
const actual = await importOriginal<typeof import("../skills.js")>();
|
||||||
return {
|
return {
|
||||||
...actual,
|
...actual,
|
||||||
syncSkillsToWorkspace: vi.fn(async () => {}),
|
syncSkillsToWorkspace: vi.fn(async () => undefined),
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("Agent-specific sandbox config", () => {
|
describe("Agent-specific sandbox config", () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
spawnCalls.length = 0;
|
spawnCalls.length = 0;
|
||||||
|
|||||||
@@ -50,10 +50,9 @@ vi.mock("../skills.js", async (importOriginal) => {
|
|||||||
const actual = await importOriginal<typeof import("../skills.js")>();
|
const actual = await importOriginal<typeof import("../skills.js")>();
|
||||||
return {
|
return {
|
||||||
...actual,
|
...actual,
|
||||||
syncSkillsToWorkspace: vi.fn(async () => {}),
|
syncSkillsToWorkspace: vi.fn(async () => undefined),
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("Agent-specific sandbox config", () => {
|
describe("Agent-specific sandbox config", () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
spawnCalls.length = 0;
|
spawnCalls.length = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user