MCPcopy Index your code
hub / github.com/socketio/socket.io / throwException

Method throwException

test/support/expectjs.d.ts:27–27  ·  view source on GitHub ↗

* 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

25 * @param fn callback to match error string against
26 */
27 throwException(fn?: (exception: any) => void): void;
28
29 /**
30 * Assert that the function throws.

Callers 2

socket.tsFile · 0.80
namespaces.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected