test: tighten host hook cleanup assertion · openclaw/openclaw@127eae2
openclaw
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2241,7 +2241,7 @@ describe("host-hook fixture plugin contract", () => {
|
2241 | 2241 | previousRegistry: previousFixture.registry.registry, |
2242 | 2242 | nextRegistry: replacementFixture.registry.registry, |
2243 | 2243 | }), |
2244 | | -).resolves.toMatchObject({ failures: [] }); |
| 2244 | +).resolves.toEqual({ cleanupCount: 0, failures: [] }); |
2245 | 2245 | expect(cleanupEvents).toEqual([]); |
2246 | 2246 | expect(listPluginSessionSchedulerJobs("scheduler-preserve")).toEqual([ |
2247 | 2247 | { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。