MCPcopy Create free account
hub / github.com/TanStack/ai / chat-fetcher.test.ts

File chat-fetcher.test.ts

packages/ai-client/tests/chat-fetcher.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, vi } from 'vitest'
2import { ChatClient, UnsupportedResponseStreamError } from '../src'
3import { createTextChunks } from './test-utils'
4import type { StreamChunk } from '@tanstack/ai/client'

Callers

nothing calls this directly

Calls 6

createTextChunksFunction · 0.90
nowMethod · 0.80
sendMessageMethod · 0.65
stopMethod · 0.45
getStatusMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected