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

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

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 12

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

Tested by

no test coverage detected