diff --git a/src/commands/agents.add.e2e.test.ts b/src/commands/agents.add.e2e.test.ts index 111cc3af4..bc9417dab 100644 --- a/src/commands/agents.add.e2e.test.ts +++ b/src/commands/agents.add.e2e.test.ts @@ -25,7 +25,7 @@ const runtime = createTestRuntime(); describe("agents add command", () => { beforeEach(() => { - readConfigFileSnapshotMock.mockReset(); + readConfigFileSnapshotMock.mockClear(); writeConfigFileMock.mockClear(); wizardMocks.createClackPrompter.mockReset(); runtime.log.mockClear(); diff --git a/src/commands/channels.adds-non-default-telegram-account.e2e.test.ts b/src/commands/channels.adds-non-default-telegram-account.e2e.test.ts index 936a113ba..018767578 100644 --- a/src/commands/channels.adds-non-default-telegram-account.e2e.test.ts +++ b/src/commands/channels.adds-non-default-telegram-account.e2e.test.ts @@ -31,9 +31,9 @@ describe("channels command", () => { }); beforeEach(() => { - configMocks.readConfigFileSnapshot.mockReset(); + configMocks.readConfigFileSnapshot.mockClear(); configMocks.writeConfigFile.mockClear(); - authMocks.loadAuthProfileStore.mockReset(); + authMocks.loadAuthProfileStore.mockClear(); offsetMocks.deleteTelegramUpdateOffset.mockClear(); runtime.log.mockClear(); runtime.error.mockClear();