MCPcopy
hub / github.com/mswjs/msw / closeAllClients

Method closeAllClients

test/support/WebSocketServer.ts:56–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 public closeAllClients(): void {
57 this.clients.forEach((client) => {
58 client.close()
59 })
60 }
61
62 public async close(): Promise<void> {
63 return this.app.close()

Callers 1

resetStateMethod · 0.95

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected