{ const { chatStore } = await import('$lib/stores/chat.svelte'); waitFor(() => setTimeout(() => { chatStore.conversations = mockConversations; }, 0)); }} >
{ const { chatStore } = await import('$lib/stores/chat.svelte'); waitFor(() => setTimeout(() => { chatStore.conversations = mockConversations; }, 0)); const searchTrigger = screen.getByText('Search conversations'); userEvent.click(searchTrigger); }} >
{ // Mock empty conversations store const { chatStore } = await import('$lib/stores/chat.svelte'); chatStore.conversations = []; }} >