MCPcopy Index your code
hub / github.com/nodejs/node / test-quic-stream-writer-fail-error-code.mjs

File test-quic-stream-writer-fail-error-code.mjs

test/parallel/test-quic-stream-writer-fail-error-code.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Flags: --experimental-quic --experimental-stream-iter --no-warnings
2
3// Test: stream writer.fail() emits a RESET_STREAM with a non-zero
4// application error code instead of the previously hard-coded 0n.

Callers

nothing calls this directly

Calls 10

skipFunction · 0.90
wireCodeOfFunction · 0.85
listenFunction · 0.70
mustCallFunction · 0.70
connectFunction · 0.70
closeMethod · 0.65
resolveMethod · 0.45
writeSyncMethod · 0.45
failMethod · 0.45

Tested by

no test coverage detected