build: spread runner args onto the runner

This commit is contained in:
Samuel Attard 2019-03-14 16:15:23 -07:00
parent df57ac4ce7
commit 6b326f7924
No known key found for this signature in database
GPG key ID: 191FEF027779CC6C

View file

@ -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'