test(agents): keep runtime-plan provider mock current · openclaw/openclaw@2a73725
openclaw
·
2026-05-25
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -18,7 +18,10 @@ vi.mock("../../plugins/manifest-contract-eligibility.js", () => ({
|
18 | 18 | })); |
19 | 19 | |
20 | 20 | vi.mock("../../plugins/provider-hook-runtime.js", () => ({ |
21 | | -testing: {}, |
| 21 | +clearProviderRuntimePluginCacheForTest: vi.fn(), |
| 22 | +testing: { |
| 23 | +clearProviderRuntimePluginCacheForTest: vi.fn(), |
| 24 | +}, |
22 | 25 | ensureProviderRuntimePluginHandle: vi.fn( |
23 | 26 | (params) => params.runtimeHandle ?? { provider: "openai" }, |
24 | 27 | ), |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。