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

File resources.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest'
2import { createMCPClientFromTransport } from '../src/client'
3import { mcpResourceToContentPart } from '../src/resources'
4import { makeServerWithResource } from './helpers/in-memory-server'

Callers

nothing calls this directly

Calls 5

mcpResourceToContentPartFunction · 0.90
makeServerWithResourceFunction · 0.90
resourcesMethod · 0.80
readResourceMethod · 0.80

Tested by

no test coverage detected