MCPcopy Create free account
hub / github.com/Noumena-Network/code / createWriteOnlyTransport

Function createWriteOnlyTransport

src/bridge/bridgeMessaging.test.ts:35–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33})
34
35function createWriteOnlyTransport() {
36 const writes: unknown[] = []
37
38 return {
39 writes,
40 transport: {
41 write: async (message: unknown) => {
42 writes.push(message)
43 },
44 } as never,
45 }
46}
47
48describe('handleIngressMessage', () => {
49 it('routes control responses and compat-normalized control requests before SDK message handling', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected