diff --git a/src/commands/agents.add.e2e.test.ts b/src/commands/agents.add.e2e.test.ts index bc9417dab..56184eb58 100644 --- a/src/commands/agents.add.e2e.test.ts +++ b/src/commands/agents.add.e2e.test.ts @@ -27,7 +27,7 @@ describe("agents add command", () => { beforeEach(() => { readConfigFileSnapshotMock.mockClear(); writeConfigFileMock.mockClear(); - wizardMocks.createClackPrompter.mockReset(); + wizardMocks.createClackPrompter.mockClear(); runtime.log.mockClear(); runtime.error.mockClear(); runtime.exit.mockClear(); diff --git a/src/commands/agents.identity.e2e.test.ts b/src/commands/agents.identity.e2e.test.ts index 8b767398c..5a02753a3 100644 --- a/src/commands/agents.identity.e2e.test.ts +++ b/src/commands/agents.identity.e2e.test.ts @@ -50,7 +50,7 @@ async function runIdentityCommandFromWorkspace(workspace: string, fromIdentity = describe("agents set-identity command", () => { beforeEach(() => { - configMocks.readConfigFileSnapshot.mockReset(); + configMocks.readConfigFileSnapshot.mockClear(); configMocks.writeConfigFile.mockClear(); runtime.log.mockClear(); runtime.error.mockClear(); diff --git a/src/commands/channels.add.test.ts b/src/commands/channels.add.test.ts index aad2a5bb0..3d3929ec8 100644 --- a/src/commands/channels.add.test.ts +++ b/src/commands/channels.add.test.ts @@ -12,7 +12,7 @@ describe("channelsAddCommand", () => { }); beforeEach(async () => { - configMocks.readConfigFileSnapshot.mockReset(); + configMocks.readConfigFileSnapshot.mockClear(); configMocks.writeConfigFile.mockClear(); offsetMocks.deleteTelegramUpdateOffset.mockClear(); runtime.log.mockClear(); diff --git a/src/commands/models.set.e2e.test.ts b/src/commands/models.set.e2e.test.ts index 625b92d1d..70f8e2272 100644 --- a/src/commands/models.set.e2e.test.ts +++ b/src/commands/models.set.e2e.test.ts @@ -53,7 +53,7 @@ describe("models set + fallbacks", () => { }); beforeEach(() => { - readConfigFileSnapshot.mockReset(); + readConfigFileSnapshot.mockClear(); writeConfigFile.mockClear(); });