From 649e9104650b87f3ced417bc74fb6fd093621bf1 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 22 Feb 2026 00:29:16 +0000 Subject: [PATCH] test(models): use lightweight clears in shared config setup --- src/commands/models/shared.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/models/shared.test.ts b/src/commands/models/shared.test.ts index becf29f39..b547a0ad0 100644 --- a/src/commands/models/shared.test.ts +++ b/src/commands/models/shared.test.ts @@ -15,8 +15,8 @@ import { loadValidConfigOrThrow, updateConfig } from "./shared.js"; describe("models/shared", () => { beforeEach(() => { - mocks.readConfigFileSnapshot.mockReset(); - mocks.writeConfigFile.mockReset(); + mocks.readConfigFileSnapshot.mockClear(); + mocks.writeConfigFile.mockClear(); }); it("returns config when snapshot is valid", async () => {