test(auto-reply): use lightweight clears in agent runner setup

This commit is contained in:
Peter Steinberger
2026-02-22 07:46:25 +00:00
parent 751ca08728
commit 9df896e5b9
2 changed files with 6 additions and 6 deletions

View File

@@ -75,10 +75,10 @@ type RunWithModelFallbackParams = {
};
beforeEach(() => {
runEmbeddedPiAgentMock.mockReset();
runCliAgentMock.mockReset();
runWithModelFallbackMock.mockReset();
runtimeErrorMock.mockReset();
runEmbeddedPiAgentMock.mockClear();
runCliAgentMock.mockClear();
runWithModelFallbackMock.mockClear();
runtimeErrorMock.mockClear();
// Default: no provider switch; execute the chosen provider+model.
runWithModelFallbackMock.mockImplementation(