MCPcopy
hub / github.com/socketio/socket.io / test-suite.js

File test-suite.js

docs/engine.io-protocol/v3-test-suite/test-suite.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const isNodejs = typeof window === "undefined";
2
3if (isNodejs) {
4 // make the tests runnable in both the browser and Node.js

Callers

nothing calls this directly

Calls 11

itFunction · 0.85
eqlMethod · 0.80
decodePayloadFunction · 0.70
waitForFunction · 0.70
initLongPollingSessionFunction · 0.70
sleepFunction · 0.70
aMethod · 0.65
closeMethod · 0.45
onMethod · 0.45
sendMethod · 0.45
timeoutMethod · 0.45

Tested by

no test coverage detected