Browse Source

build: accidentally inverted a bool (#20029)

Shelley Vohr 5 years ago
parent
commit
a9e3dabc8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      script/spec-runner.js

+ 1 - 1
script/spec-runner.js

@@ -95,7 +95,7 @@ async function runElectronTests () {
 
   const testResultsDir = process.env.ELECTRON_TEST_RESULTS_DIR
   for (const [runnerId, { description, run }] of runners) {
-    if (runnersToRun && runnersToRun.includes(runnerId)) {
+    if (runnersToRun && !runnersToRun.includes(runnerId)) {
       console.info('\nSkipping:', description)
       continue
     }