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

Method throwException

packages/socket.io/test/support/expectjs.d.ts:27–27  ·  packages/socket.io/test/support/expectjs.d.ts::Assertion.throwException

* 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 8

handlerFunction · 0.80
parser.jsFile · 0.80
isInvalidPayloadFunction · 0.80
isInvalidAttachmentCountFunction · 0.80
buffer.jsFile · 0.80
socket.tsFile · 0.80
socket.tsFile · 0.80
namespaces.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected