Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
http from
'node:http'
;
2
import
{
type
Mocked } from
'vitest'
;
3
4
import
{ SSEServerTransport } from
'../../src/server/sse.js'
;
Callers
nothing calls this directly
Calls
9
createMockResponse
Function · 0.85
createTestServerWithSse
Function · 0.85
sendSsePostRequest
Function · 0.85
createMockRequest
Function · 0.85
tool
Method · 0.80
handlePostMessage
Method · 0.80
initializeServer
Function · 0.70
start
Method · 0.65
close
Method · 0.65
Tested by
no test coverage detected