mirror of https://github.com/openclaw/openclaw.git
test: stabilize sandbox config tests
This commit is contained in:
parent
8e2707e232
commit
12afec953f
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue