Skip to content

Commit ae44e5f

Browse files
Trotttargos
authored andcommitted
test: add tests for missing https agent options
Add test that minVersion and maxVersion options are accepted. This should complete coverage for lib/https.js. Refs: https://codecov.io/gh/nodejs/node/src/ec0dcd720e10831b3e783b415c5dc011ed5be2f8/lib/https.js PR-URL: #38202 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 796007b commit ae44e5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-https-agent-additional-options.js

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ const updatedValues = new Map([
3434
['dhparam', fixtures.readKey('dh2048.pem')],
3535
['ecdhCurve', 'secp384r1'],
3636
['honorCipherOrder', true],
37+
['minVersion', 'TLSv1.1'],
38+
['maxVersion', 'TLSv1.3'],
3739
['secureOptions', crypto.constants.SSL_OP_CIPHER_SERVER_PREFERENCE],
3840
['secureProtocol', 'TLSv1_1_method'],
3941
['sessionIdContext', 'sessionIdContext'],

0 commit comments

Comments
 (0)