From 3d6e750f50bd13b89ba95605dba1a38b9e6824ce Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Fri, 19 May 2023 15:44:34 +0200 Subject: [PATCH] test: ignore helper files in WPTs --- test/common/wpt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/wpt.js b/test/common/wpt.js index 5ff731e13051d5..6ec6cd8c1ec6f2 100644 --- a/test/common/wpt.js +++ b/test/common/wpt.js @@ -411,7 +411,7 @@ class StatusLoader { const list = this.grep(filepath); result = result.concat(list); } else { - if (!(/\.\w+\.js$/.test(filepath))) { + if (!(/\.\w+\.js$/.test(filepath)) || filepath.endsWith('.helper.js')) { continue; } result.push(filepath);