diff --git a/scripts/runner.node.mjs b/scripts/runner.node.mjs index b680f87294..f694a3aa29 100755 --- a/scripts/runner.node.mjs +++ b/scripts/runner.node.mjs @@ -1585,6 +1585,9 @@ function isNodeTest(path) { if (isCI && isMacOS && isX64) { return false; } + if (!isJavaScript(path)) { + return false; + } const unixPath = path.replaceAll(sep, "/"); return ( unixPath.includes("js/node/test/parallel/") ||