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 targos committed May 30, 2023
1 parent f30ba5c commit 8d2a3b1
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 @@ -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);
Expand Down

0 comments on commit 8d2a3b1

Please sign in to comment.