blob: 7ee1df1a544b95fa9ebf2dae0e4ac39547589d5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
'use strict';
require('../common');
const assert = require('assert');
const net = require('net');
// test that server.connections property is no longer enumerable now that it
// has been marked as deprecated
const server = new net.Server();
assert.strictEqual(Object.keys(server).indexOf('connections'), -1);
|