Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ beforeAll
Function
beforeAll
packages/socket.io-client/test/support/hooks.ts:6–8 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4
5
export
const
mochaHooks = {
6
beforeAll() {
7
server = createServer();
8
},
9
afterAll() {
10
server.close();
11
},
Callers
nothing calls this directly
Calls
1
createServer
Function · 0.90
Tested by
no test coverage detected