MCPcopy Create free account
hub / github.com/modelcontextprotocol/typescript-sdk / sse.test.ts

File sse.test.ts

test/server/sse.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import http from 'node:http';
2import { type Mocked } from 'vitest';
3
4import { SSEServerTransport } from '../../src/server/sse.js';

Callers

nothing calls this directly

Calls 9

createMockResponseFunction · 0.85
createTestServerWithSseFunction · 0.85
sendSsePostRequestFunction · 0.85
createMockRequestFunction · 0.85
toolMethod · 0.80
handlePostMessageMethod · 0.80
initializeServerFunction · 0.70
startMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected