test(agents): use lightweight clears in skills/sandbox setup

This commit is contained in:
Peter Steinberger
2026-02-22 08:05:59 +00:00
parent 6e253096ed
commit dd5774a300
2 changed files with 4 additions and 4 deletions

View File

@@ -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);
});