Skip to content

Commit

Permalink
test: ignore helper files in WPTs
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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 Ceres6 committed Aug 14, 2023
1 parent 4ce9bf0 commit f2eeafa
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 f2eeafa

Please sign in to comment.