mirror of
https://github.com/nodejs/node.git
synced 2025-05-09 09:08:46 +00:00

PR-URL: https://github.com/nodejs/node/pull/10550 Reviewed-By: Rich Trott <rtrott@gmail.com>
13 lines
305 B
JavaScript
13 lines
305 B
JavaScript
'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);
|