mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:30:57 +00:00
fix(ci): align tests with runtime barrels
This commit is contained in:
@@ -266,8 +266,6 @@ async function monitorWithAutoAbort(opts: Omit<MonitorTelegramOpts, "abortSignal
|
||||
vi.mock("openclaw/plugin-sdk/runtime-config-snapshot", async () => {
|
||||
return {
|
||||
getRuntimeConfig: getRuntimeConfigMock,
|
||||
resolveAgentMaxConcurrent: (cfg: { agents?: { defaults?: { maxConcurrent?: number } } }) =>
|
||||
cfg.agents?.defaults?.maxConcurrent ?? 1,
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ vi.mock("openclaw/plugin-sdk/config-mutation", async () => {
|
||||
...actual,
|
||||
readConfigFileSnapshotForWrite,
|
||||
replaceConfigFile,
|
||||
writeConfigFile,
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user