Skip to content

Commit 122eed1

Browse files
committed
fix tests
1 parent 9c8af50 commit 122eed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/hooks/helpers/__tests__/send-message.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ describe('handleRunError', () => {
427427
// Should invalidate queries for payment errors
428428
expect(mockInvalidateQueries).toHaveBeenCalled()
429429
// Input mode should switch to usage
430-
expect(setInputModeMock).toHaveBeenCalledWith('usage')
430+
expect(setInputModeMock).toHaveBeenCalledWith('outOfCredits')
431431

432432
// Timer should still be stopped with error
433433
expect(timerController.stopCalls).toContain('error')

0 commit comments

Comments
 (0)