mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 09:21:23 +00:00
test(agents): use lightweight clears in skills/sandbox setup
This commit is contained in:
@@ -126,8 +126,8 @@ describe("ensureSandboxContainer config-hash recreation", () => {
|
||||
spawnState.calls.length = 0;
|
||||
spawnState.inspectRunning = true;
|
||||
spawnState.labelHash = "";
|
||||
registryMocks.readRegistry.mockReset();
|
||||
registryMocks.updateRegistry.mockReset();
|
||||
registryMocks.readRegistry.mockClear();
|
||||
registryMocks.updateRegistry.mockClear();
|
||||
registryMocks.updateRegistry.mockResolvedValue(undefined);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user