Skip to content

Commit 5c5b1d2

Browse files
panvaMoLow
authored andcommitted
test: ignore helper files in WPTs
PR-URL: #48079 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 27a76cf commit 5c5b1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/wpt.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class StatusLoader {
368368
const list = this.grep(filepath);
369369
result = result.concat(list);
370370
} else {
371-
if (!(/\.\w+\.js$/.test(filepath))) {
371+
if (!(/\.\w+\.js$/.test(filepath)) || filepath.endsWith('.helper.js')) {
372372
continue;
373373
}
374374
result.push(filepath);

0 commit comments

Comments
 (0)