Browse Source

build: spread runner args onto the runner

Samuel Attard 6 years ago
parent
commit
6b326f7924
1 changed files with 1 additions and 1 deletions
  1. 1 1
      script/spec-runner.js

+ 1 - 1
script/spec-runner.js

@@ -101,7 +101,7 @@ async function runElectronTests () {
 
 async function runRemoteBasedElectronTests () {
   let exe = path.resolve(BASE, utils.getElectronExec())
-  const runnerArgs = ['electron/spec', unknownArgs.slice(2)]
+  const runnerArgs = ['electron/spec', ...unknownArgs.slice(2)]
   if (process.platform === 'linux') {
     runnerArgs.unshift(path.resolve(__dirname, 'dbus_mock.py'), exe)
     exe = 'python'