MCPcopy
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

1import { describe, expect, it, vi } from 'vitest'
2import { EventType } from '@tanstack/ai/client'
3import { ChatClient } from '../src/chat-client'
4import {

Callers

nothing calls this directly

Calls 15

createTextChunksFunction · 0.90
createToolCallChunksFunction · 0.90
createThinkingChunksFunction · 0.90
createCustomEventChunksFunction · 0.90
createPersistenceFunction · 0.85
createSubscribeAdapterFunction · 0.85
wakeQueuedSubscriberFunction · 0.85
wakeFunction · 0.85
getIsSubscribedMethod · 0.80
getConnectionStatusMethod · 0.80
resolveMethod · 0.80

Tested by

no test coverage detected