Skip to content

Commit c301972

Browse files
committed
Fix test
1 parent 77226a9 commit c301972

File tree

1 file changed

+1
-1
lines changed
  • src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/AskAi

1 file changed

+1
-1
lines changed

src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/AskAi/chat.store.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ describe('chat.store', () => {
9595

9696
// Verify fresh state
9797
expect(chatStore.getState().chatMessages).toHaveLength(0)
98-
expect(chatStore.getState().threadId).not.toBe(oldThreadId)
98+
expect(chatStore.getState().threadId).toBeNull()
9999

100100
// Start new conversation
101101
act(() => {

0 commit comments

Comments
 (0)