Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TanStack/ai
/ chat-client.test.ts
File
chat-client.test.ts
packages/ai-client/tests/chat-client.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it, vi } from
'vitest'
2
import
{ EventType } from
'@tanstack/ai/client'
3
import
{ ChatClient } from
'../src/chat-client'
4
import
{
Callers
nothing calls this directly
Calls
15
createMockConnectionAdapter
Function · 0.90
createTextChunks
Function · 0.90
createToolCallChunks
Function · 0.90
createThinkingChunks
Function · 0.90
createCustomEventChunks
Function · 0.90
createPersistence
Function · 0.85
createSubscribeAdapter
Function · 0.85
wakeQueuedSubscriber
Function · 0.85
wake
Function · 0.85
getIsSubscribed
Method · 0.80
getConnectionStatus
Method · 0.80
resolve
Method · 0.80
Tested by
no test coverage detected