MCPcopy Create free account
hub / github.com/cloudflare/mcp / non-codemode.test.ts

File non-codemode.test.ts

tests/non-codemode.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, it, expect, vi } from 'vitest'
2import { Client } from '@modelcontextprotocol/client'
3import { InMemoryTransport, McpServer } from '@modelcontextprotocol/server'
4import { createServer } from '../src/server'

Callers

nothing calls this directly

Calls 15

registerDocsToolFunction · 0.90
toolNameToTitleFunction · 0.90
pathToToolNameFunction · 0.90
buildNonCodemodeToolsFunction · 0.90
buildInputSchemaFunction · 0.90
clearSpecFunction · 0.90
seedSpecFunction · 0.90
createServerFunction · 0.90
removeNonCodemodeToolsFunction · 0.90
acctPropsFunction · 0.85
mockFetchJsonFunction · 0.85
callToolFunction · 0.85

Tested by

no test coverage detected