MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / onMsg

Function onMsg

test/bot-gateway.test.ts:7–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6beforeEach(() => { resetOperatorHub(); });
7
8/** A fake transport that captures sends and lets the test inject inbound messages. */
9function fakeTransport(platform: 'telegram' | 'discord' = 'telegram') {
10 let onMsg: (m: Incoming) => void = () => {};

Callers 1

injectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected