MCPcopy Index your code
hub / github.com/nodejs/node / test-quic-stream-destroy-options-validate.mjs

File test-quic-stream-destroy-options-validate.mjs

test/parallel/test-quic-stream-destroy-options-validate.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Flags: --experimental-quic --no-warnings
2
3// stream.destroy(error, options) validates `options` up front, before
4// any side effects. A malformed `options` argument must throw without

Callers

nothing calls this directly

Calls 9

skipFunction · 0.90
listenFunction · 0.70
mustCallFunction · 0.70
connectFunction · 0.70
mustNotCallFunction · 0.70
throwsFunction · 0.70
closeMethod · 0.65
destroyMethod · 0.45

Tested by

no test coverage detected