mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: ignore helper files in WPTs
PR-URL: https://github.com/nodejs/node/pull/48079 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user