diff --git a/tests/method-names.js b/tests/method-names.js index cbe83b9..364a161 100644 --- a/tests/method-names.js +++ b/tests/method-names.js @@ -28,7 +28,6 @@ var E = events.EventEmitter.prototype; assert.strictEqual(E.constructor.name, 'EventEmitter'); assert.strictEqual(E.on, E.addListener); // Same method. assert.strictEqual(E.off, E.removeListener); // Same method. -console.log(Object.getOwnPropertyNames(E)); Object.getOwnPropertyNames(E).forEach(function(name) { if (name === 'constructor' || name === 'on' || name === 'off') return; if (typeof E[name] !== 'function') return;