test: tighten runtime channel registry assertion · openclaw/openclaw@110e9b0
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -183,7 +183,7 @@ describe("channel registry pinning", () => {
|
183 | 183 | it("requireActivePluginChannelRegistry creates a registry when none exists", () => { |
184 | 184 | resetPluginRuntimeStateForTest(); |
185 | 185 | const registry = requireActivePluginChannelRegistry(); |
186 | | -expect(registry).toMatchObject({ channels: [] }); |
| 186 | +expect(registry).toEqual(createEmptyPluginRegistry()); |
187 | 187 | }); |
188 | 188 | |
189 | 189 | it("resetPluginRuntimeStateForTest clears channel pin", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。