Skip to content

Commit 5c5b1d2

Browse files
panvaMoLow
authored andcommitted
test: ignore helper files in WPTs
PR-URL: #48079 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Matthew Aitken <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
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

Lines changed: 1 addition & 1 deletion
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)