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

Function verifyLoadingFailed

test/parallel/test-inspector-network-http2.js:197–204  ·  view source on GitHub ↗
({ method, params })

Source from the content-addressed store, hash-verified

195}
196
197function verifyLoadingFailed({ method, params }) {
198 assert.strictEqual(method, 'Network.loadingFailed');
199
200 assert.ok(params.requestId.startsWith('node-network-event-'));
201 assert.strictEqual(typeof params.timestamp, 'number');
202 assert.strictEqual(params.type, 'Other');
203 assert.strictEqual(typeof params.errorText, 'string');
204}
205
206async function testHttp2(secure = false) {
207 const port = (secure ? http2SecureServer : http2Server).address().port;

Callers 1

testHttp2ErrorFunction · 0.70

Calls 1

okMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…