MCPcopy
hub / github.com/callstack/agent-device / router.test.ts

File router.test.ts

src/mcp/__tests__/router.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import assert from 'node:assert/strict';
2import { setImmediate } from 'node:timers/promises';
3import { test } from 'vitest';
4import { listMcpExposedCommandNames } from '../../command-catalog.ts';

Callers

nothing calls this directly

Calls 7

handleMcpMessageFunction · 0.90
handleMcpPayloadFunction · 0.90
createMcpPayloadQueueFunction · 0.90
pushMethod · 0.80
setMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected