test: check qmd probe cleanup · openclaw/openclaw@2dc6b76
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
File tree
packages/memory-host-sdk/src/host
| Original file line number | Diff line number | Diff line change |
|---|
@@ -133,7 +133,8 @@ describe("checkQmdBinaryAvailability", () => {
|
133 | 133 | await expect( |
134 | 134 | checkQmdBinaryAvailability({ command: "qmd", env: process.env, cwd: tempDir }), |
135 | 135 | ).resolves.toEqual({ available: true }); |
136 | | -expect(child.kill).toHaveBeenCalled(); |
| 136 | +expect(child.kill).toHaveBeenCalledTimes(1); |
| 137 | +expect(child.kill).toHaveBeenCalledWith(); |
137 | 138 | }); |
138 | 139 | |
139 | 140 | it("returns unavailable when the qmd process cannot be spawned", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。