blob: ce3087713c3ad780f132a9acb4f7399372756133 (
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
var server = new net.Server();
assert.equal(Object.keys(server).indexOf('connections'), -1);
|