mirror of https://github.com/lukechilds/node.git
12 lines
313 B
12 lines
313 B
'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);
|
|
|