MCPcopy
hub / github.com/TanStack/ai / use-generation.test.ts

File use-generation.test.ts

packages/ai-solid/tests/use-generation.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { renderHook } from '@solidjs/testing-library'
2import { describe, expect, expectTypeOf, it, vi } from 'vitest'
3import { useGeneration } from '../src/use-generation'
4import { useGenerateImage } from '../src/use-generate-image'

Callers

nothing calls this directly

Calls 15

useGenerationFunction · 0.90
useGenerateImageFunction · 0.90
useGenerateSpeechFunction · 0.90
useGenerateAudioFunction · 0.90
useTranscriptionFunction · 0.90
useSummarizeFunction · 0.90
useGenerateVideoFunction · 0.90
renderHookFunction · 0.85
nowMethod · 0.80
createGenerationChunksFunction · 0.70
createErrorChunksFunction · 0.70

Tested by

no test coverage detected