test: verify channel migration changes · openclaw/openclaw@9924fff
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
File tree
src/commands/doctor/shared
| Original file line number | Diff line number | Diff line change |
|---|
@@ -160,13 +160,10 @@ describe("bundled channel legacy config migrations", () => {
|
160 | 160 | }, |
161 | 161 | }, |
162 | 162 | }); |
163 | | -expect(result.changes).toHaveLength(2); |
164 | | -expect(result.changes).toContain( |
| 163 | +expect(result.changes).toStrictEqual([ |
165 | 164 | "Moved channels.mattermost.allowPrivateNetwork → channels.mattermost.network.dangerouslyAllowPrivateNetwork (true).", |
166 | | -); |
167 | | -expect(result.changes).toContain( |
168 | 165 | "Moved channels.mattermost.accounts.work.allowPrivateNetwork → channels.mattermost.accounts.work.network.dangerouslyAllowPrivateNetwork (false).", |
169 | | -); |
| 166 | +]); |
170 | 167 | }); |
171 | 168 | |
172 | 169 | it("applies plugin doctor normalizers for configured non-channel plugin entries", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。