fix: promote visible progress after silent final

This commit is contained in:
Eyejoker
2026-03-28 06:27:36 +09:00
parent 38d96578a4
commit de913985ba
4 changed files with 102 additions and 8 deletions

View File

@@ -86,9 +86,7 @@ describe('runClaudeRotationLoop', () => {
it('uses structured public output text as the next rotation message', async () => {
vi.mocked(getTokenCount).mockReturnValue(2);
vi.mocked(rotateToken)
.mockReturnValueOnce(true)
.mockReturnValueOnce(false);
vi.mocked(rotateToken).mockReturnValueOnce(true).mockReturnValueOnce(false);
let attempts = 0;
const outcome = await runClaudeRotationLoop(