mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
11 lines
323 B
JavaScript
11 lines
323 B
JavaScript
|
'use strict';
|
||
|
|
||
|
// Flags: --network-family-autoselection-attempt-timeout=123
|
||
|
|
||
|
const { platformTimeout } = require('../common');
|
||
|
|
||
|
const assert = require('assert');
|
||
|
const { getDefaultAutoSelectFamilyAttemptTimeout } = require('net');
|
||
|
|
||
|
assert.strictEqual(getDefaultAutoSelectFamilyAttemptTimeout(), platformTimeout(123 * 10));
|