mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix: preserve utils exports in doctor health tests
This commit is contained in:
@@ -116,7 +116,8 @@ vi.mock("../config/logging.js", () => ({
|
||||
logConfigUpdated: mocks.logConfigUpdated,
|
||||
}));
|
||||
|
||||
vi.mock("../utils.js", () => ({
|
||||
vi.mock("../utils.js", async (importOriginal) => ({
|
||||
...(await importOriginal<typeof import("../utils.js")>()),
|
||||
isRecord: mocks.isRecord,
|
||||
shortenHomePath: mocks.shortenHomePath,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user