Skip to content

Commit cb362a3

Browse files
Trottdanielleadams
authored andcommitted
test: remove unneeded test statement
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]>
1 parent 1bd286e commit cb362a3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/parallel/test-event-emitter-subclass.js

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ function MyEE(cb) {
3636

3737
const myee = new MyEE(common.mustCall());
3838

39-
myee.hasOwnProperty('usingDomains');
40-
4139
Object.setPrototypeOf(ErrorEE.prototype, EventEmitter.prototype);
4240
Object.setPrototypeOf(ErrorEE, EventEmitter);
4341
function ErrorEE() {

0 commit comments

Comments
 (0)