Download Chromedriver during script/build

...so that we can cache it.
This commit is contained in:
Antonio Scandurra
2016-08-11 12:54:30 +02:00
parent 6a99bb38ba
commit ff9fb6edce
3 changed files with 3 additions and 4 deletions

View File

@@ -5,7 +5,6 @@
require('colors')
const async = require('async')
const childProcess = require('child_process')
const downloadChromedriver = require('./lib/download-chromedriver')
const fs = require('fs')
const path = require('path')
@@ -16,8 +15,6 @@ const packagedAppPath = path.resolve(__dirname, '..', 'out', `${appName}.app`)
const executablePath = path.join(packagedAppPath, 'Contents', 'MacOS', appName)
const resourcePath = CONFIG.repositoryRootPath
downloadChromedriver()
function runCoreMainProcessTests (callback) {
const testPath = path.join(CONFIG.repositoryRootPath, 'spec', 'main-process')
const testArguments = [