mirror of https://github.com/nodejs/node.git
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:
parent
30870d126b
commit
6439f683ee
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue