test: count sandbox bridge shell calls · openclaw/openclaw@53ef915
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -54,7 +54,7 @@ describe("sandbox fs bridge shell compatibility", () => {
|
54 | 54 | await bridge.rename({ from: "a.txt", to: "c.txt" }); |
55 | 55 | await bridge.stat({ filePath: "c.txt" }); |
56 | 56 | |
57 | | -expect(mockedExecDockerRaw).toHaveBeenCalled(); |
| 57 | +expect(mockedExecDockerRaw).toHaveBeenCalledTimes(19); |
58 | 58 | |
59 | 59 | const scripts = getScriptsFromCalls(); |
60 | 60 | const executables = mockedExecDockerRaw.mock.calls.map(([args]) => args[3] ?? ""); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。