MCPcopy Create free account
hub / github.com/TanStack/ai / translate.test.ts

File translate.test.ts

packages/ai-claude-code/tests/translate.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest'
2import { translateSdkStream } from '../src/stream/translate'
3import type { AgentSdkMessage } from '../src/stream/sdk-types'
4import type { StreamChunk } from '@tanstack/ai'

Callers

nothing calls this directly

Calls 6

translateSdkStreamFunction · 0.90
throwingFunction · 0.85
makeContextFunction · 0.85
collectFunction · 0.70
assistantTextFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected