MCPcopy Index your code
hub / github.com/nodejs/node / mustNotCall

Function mustNotCall

test/parallel/test-http2-session-timeout.js:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11let requests = 0;
12const mustNotCall = () => {
13 assert.fail(`Timeout after ${requests} request(s)`);
14};
15
16const server = http2.createServer();
17// Disable server timeout until first request. We will set the timeout based on

Calls 1

failMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…