MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / websocketSpec.tsx

File websocketSpec.tsx

web/src/js/__tests__/backends/websocketSpec.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import WebSocketBackend from "../../backends/websocket";
2import type { MockResponseInit } from "jest-fetch-mock";
3import fetchMock from "jest-fetch-mock";
4import { waitFor } from "../test-utils";

Callers

nothing calls this directly

Calls 11

TStoreFunction · 0.90
setFilterFunction · 0.90
expectFunction · 0.85
resolveFunction · 0.85
dispatchMethod · 0.80
sendMessageMethod · 0.45
onOpenMethod · 0.45
onMessageMethod · 0.45
pushMethod · 0.45
onCloseMethod · 0.45
onErrorMethod · 0.45

Tested by

no test coverage detected