Skip to content

Commit

Permalink
fix: minor typecehck issue
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ghorbani committed Nov 1, 2024
1 parent 7aad86b commit 2312d80
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/hooks/__tests__/useChatSession.test.ts
Original file line number Diff line number Diff line change
@@ -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 () => {

0 comments on commit 2312d80

Please sign in to comment.