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 () => {