mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:10:43 +00:00
test(doctor): keep repair sequencing unit isolated
This commit is contained in:
@@ -76,6 +76,13 @@ vi.mock("./shared/stale-plugin-config.js", () => ({
|
||||
}),
|
||||
}));
|
||||
|
||||
vi.mock("./shared/invalid-plugin-config.js", () => ({
|
||||
maybeRepairInvalidPluginConfig: (cfg: OpenClawConfig) => ({
|
||||
config: cfg,
|
||||
changes: [],
|
||||
}),
|
||||
}));
|
||||
|
||||
vi.mock("./shared/legacy-tools-by-sender.js", () => ({
|
||||
maybeRepairLegacyToolsBySenderKeys: (cfg: OpenClawConfig) => {
|
||||
const channels = cfg.channels as Record<string, unknown> | undefined;
|
||||
|
||||
Reference in New Issue
Block a user