MCPcopy Index your code
hub / github.com/nodejs/node / test-http-client-set-timeout.js

File test-http-client-set-timeout.js

test/parallel/test-http-client-set-timeout.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1'use strict';
2
3// Test that the `'timeout'` event is emitted exactly once if the `timeout`
4// option and `request.setTimeout()` are used together.

Callers

nothing calls this directly

Calls 12

listenMethod · 0.80
listenerCountMethod · 0.80
createServerFunction · 0.70
mustCallFunction · 0.70
getFunction · 0.70
expectsErrorFunction · 0.70
addressMethod · 0.65
closeMethod · 0.65
requireFunction · 0.50
setTimeoutMethod · 0.45
onMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected