Skip to content

Commit

Permalink
test: remove unneeded test statement
Browse files Browse the repository at this point in the history
The statement removed was added in 6657b15 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.

PR-URL: #41663
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tierney Cyren <[email protected]>
  • Loading branch information
Trott authored and ruyadorno committed Feb 7, 2022
1 parent a35c6c3 commit cca9210
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/parallel/test-event-emitter-subclass.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit cca9210

Please sign in to comment.