MCPcopy
hub / github.com/socketio/socket.io / throwError

Method throwError

packages/socket.io/test/support/expectjs.d.ts:20–20  ·  packages/socket.io/test/support/expectjs.d.ts::Assertion.throwError

* Assert that the function throws. * * @param fn callback to match error string against

(fn?: (exception: any) => void)

Source from the content-addressed store, hash-verified

18 * @param fn callback to match error string against
19 */
20 throwError(fn?: (exception: any) => void): void;
21
22 /**
23 * Assert that the function throws.

Callers 1

parseuri.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected