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

Function testNoTls

test/parallel/test-http2-https-fallback.js:142–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140 );
141
142 function testNoTls() {
143 // HTTP/1.1 client
144 get(Object.assign(parse(origin), clientOptions), common.mustNotCall())
145 .on('error', common.mustCall(cleanup))
146 .on('error', common.mustCall(testWrongALPN))
147 .end();
148 }
149
150 function testWrongALPN() {
151 // Incompatible ALPN TLS client

Callers

nothing calls this directly

Calls 5

assignMethod · 0.80
getFunction · 0.70
parseFunction · 0.50
endMethod · 0.45
onMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…