From 8efbd80dc591ce421a77014936d22d9f04687e96 Mon Sep 17 00:00:00 2001 From: himself65 Date: Mon, 22 Mar 2021 01:29:43 +0800 Subject: [PATCH] test: remove duplicated test for eventtarget --- test/parallel/test-eventtarget.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/parallel/test-eventtarget.js b/test/parallel/test-eventtarget.js index 771133e1150f36..124fa174e921bd 100644 --- a/test/parallel/test-eventtarget.js +++ b/test/parallel/test-eventtarget.js @@ -256,13 +256,6 @@ let asyncTest = Promise.resolve(); {}, // No handleEvent function false ].forEach((i) => throws(() => target.addEventListener('foo', i), err(i))); - - [ - 'foo', - 1, - {}, // No handleEvent function - false - ].forEach((i) => throws(() => target.addEventListener('foo', i), err(i))); } {