test: align update mocks with persisted config hash · openclaw/openclaw@9f211bb
steipete
·
2026-05-15
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -443,6 +443,7 @@ describe("update-cli", () => {
|
443 | 443 | return { |
444 | 444 | path: snapshot.path, |
445 | 445 | previousHash: snapshot.hash ?? null, |
| 446 | +persistedHash: snapshot.hash ?? null, |
446 | 447 | snapshot, |
447 | 448 | nextConfig, |
448 | 449 | persistedHash: snapshot.hash ?? null, |
@@ -1189,6 +1190,7 @@ describe("update-cli", () => {
|
1189 | 1190 | return { |
1190 | 1191 | path: newerSnapshot.path, |
1191 | 1192 | previousHash: newerSnapshot.hash, |
| 1193 | +persistedHash: newerSnapshot.hash, |
1192 | 1194 | snapshot: newerSnapshot, |
1193 | 1195 | nextConfig, |
1194 | 1196 | persistedHash: newerSnapshot.hash, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。