Skip to content

Commit

Permalink
test: ignore helper files in WPTs
Browse files Browse the repository at this point in the history
PR-URL: #48079
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
panva authored and MoLow committed Jul 6, 2023
1 parent 27a76cf commit 5c5b1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/wpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,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);
Expand Down

0 comments on commit 5c5b1d2

Please sign in to comment.