MCPcopy Index your code
hub / github.com/TanStack/ai / events.test.ts

File events.test.ts

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

Source from the content-addressed store, hash-verified

1import { beforeEach, describe, expect, it, vi } from 'vitest'
2import { aiEventClient } from '@tanstack/ai-event-client'
3import { DefaultChatClientEventEmitter } from '../src/events'
4import type { UIMessage } from '../src/types'

Callers

nothing calls this directly

Calls 15

expectedEnvelopeFunction · 0.85
clientCreatedMethod · 0.80
loadingChangedMethod · 0.80
errorChangedMethod · 0.80
textUpdatedMethod · 0.80
thinkingUpdatedMethod · 0.80
toolCallStateChangedMethod · 0.80
approvalRequestedMethod · 0.80
messageAppendedMethod · 0.80
messageSentMethod · 0.80
reloadedMethod · 0.80
stoppedMethod · 0.80

Tested by

no test coverage detected