diff --git a/src/hooks/__tests__/useChatSession.test.ts b/src/hooks/__tests__/useChatSession.test.ts index 9882a27..45b6f87 100644 --- a/src/hooks/__tests__/useChatSession.test.ts +++ b/src/hooks/__tests__/useChatSession.test.ts @@ -48,7 +48,13 @@ describe('useChatSession', () => { it('should handle model not loaded scenario', async () => { const {result} = renderHook(() => - useChatSession(null, {current: null}, [], textMessage.author, assistant), + useChatSession( + undefined, + {current: null}, + [], + textMessage.author, + assistant, + ), ); await act(async () => {