From 6b326f792477e7ec9970a36dc459787324b4d5dc Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 14 Mar 2019 16:15:23 -0700 Subject: [PATCH] build: spread runner args onto the runner --- script/spec-runner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/spec-runner.js b/script/spec-runner.js index 37852521822e..a1b4fe185ef2 100755 --- a/script/spec-runner.js +++ b/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'