From 5d4c6107277e399abc593295a7f9315d4544ce4e 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 PR-URL: https://github.com/nodejs/node/pull/37853 Reviewed-By: Antoine du Hamel Reviewed-By: Colin Ihrig Reviewed-By: Darshan Sen Reviewed-By: Benjamin Gruenbaum Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- 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 63c166fc1be421..4eeea407b196af 100644 --- a/test/parallel/test-eventtarget.js +++ b/test/parallel/test-eventtarget.js @@ -254,13 +254,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))); } {