test: fix status and update-cli mock drift

This commit is contained in:
Peter Steinberger
2026-04-03 14:06:32 +01:00
parent bbbfbd2db4
commit 3a2667b5fc
2 changed files with 77 additions and 3 deletions

View File

@@ -45,6 +45,7 @@ vi.mock("../infra/update-runner.js", () => ({
vi.mock("../infra/openclaw-root.js", () => ({
resolveOpenClawPackageRoot: vi.fn(),
resolveOpenClawPackageRootSync: vi.fn(() => process.cwd()),
}));
vi.mock("../config/config.js", () => ({