test(core): reduce mock reset overhead in targeted suites

This commit is contained in:
Peter Steinberger
2026-02-22 08:40:24 +00:00
parent 2a66c8d676
commit ccc00d874c
8 changed files with 19 additions and 12 deletions

View File

@@ -288,7 +288,7 @@ describe("devices cli local fallback", () => {
});
afterEach(() => {
callGateway.mockReset();
callGateway.mockClear();
buildGatewayConnectionDetails.mockClear();
buildGatewayConnectionDetails.mockReturnValue({
url: "ws://127.0.0.1:18789",