Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: convert forEach to for of test-messageevent-brandcheck file
Signed-off-by: Nachiketa Pathak <nachiketapathak11@gmail.com>
  • Loading branch information
nachiketap11 committed Aug 16, 2026
commit 233097bdf065f6b16f04e61277c82201f4b50c50
10 changes: 2 additions & 8 deletions test/parallel/test-messageevent-brandcheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
require('../common');
const assert = require('assert');

[
'data',
'origin',
'lastEventId',
'source',
'ports',
].forEach((i) => {
for (const i of ['data', 'origin', 'lastEventId', 'source', 'ports']) {
assert.throws(() => Reflect.get(MessageEvent.prototype, i, {}), TypeError);
});
}
Loading