Browse Source

test: exit properly when `node-spec-runner` validates specs (#36102)

test: exit properly when node spec runner validates specs

Co-authored-by: Shelley Vohr <[email protected]>

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <[email protected]>
trop[bot] 2 years ago
parent
commit
2b13ba9231
1 changed files with 2 additions and 0 deletions
  1. 2 0
      script/node-spec-runner.js

+ 2 - 0
script/node-spec-runner.js

@@ -67,6 +67,8 @@ async function main () {
       console.error(`Found ${missing.length} missing disabled specs: \n${missing.join('\n')}`);
       process.exit(1);
     }
+
+    process.exit(0);
   }
 
   const options = args.default ? defaultOptions : getCustomOptions();