test: count plugin install config reads · openclaw/openclaw@250b356
openclaw
·
2026-05-12
·
via Recent Commits to openclaw:main
Commit 250b356
test: count plugin install config reads
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -115,7 +115,7 @@ describe("loadConfigForInstall", () => {
|
115 | 115 | ); |
116 | 116 | |
117 | 117 | const result = await loadConfigForInstall(discordNpmRequest); |
118 | | -expect(readConfigFileSnapshotMock).toHaveBeenCalled(); |
| 118 | +expect(readConfigFileSnapshotMock).toHaveBeenCalledTimes(1); |
119 | 119 | expect(collectChannelDoctorStaleConfigMutationsMock).toHaveBeenCalledWith(snapshotCfg); |
120 | 120 | expect(result).toEqual({ config: snapshotCfg, baseHash: "abc" }); |
121 | 121 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments
Comments
(0)