From 57e953117e92f0bf3a0fcde5e1666d22d139b3cf Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 22 Jan 2022 21:48:29 -0800 Subject: [PATCH] test: remove unneeded test statement The statement removed was added in 6657b153abba09a1 but it was not added as an assertion. It currently returns false but t0he test does not fail because of the missing assertion. Since the property is no longer one that exists, there is no need to test its existence. Remove the line. --- test/parallel/test-event-emitter-subclass.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/parallel/test-event-emitter-subclass.js b/test/parallel/test-event-emitter-subclass.js index 1157f334594981..a6ef54e5fa7401 100644 --- a/test/parallel/test-event-emitter-subclass.js +++ b/test/parallel/test-event-emitter-subclass.js @@ -36,8 +36,6 @@ function MyEE(cb) { const myee = new MyEE(common.mustCall()); -myee.hasOwnProperty('usingDomains'); - Object.setPrototypeOf(ErrorEE.prototype, EventEmitter.prototype); Object.setPrototypeOf(ErrorEE, EventEmitter); function ErrorEE() {