diff --git a/script/test b/script/test index e6e4737a1..cf178fafc 100755 --- a/script/test +++ b/script/test @@ -56,7 +56,7 @@ if (process.platform === 'darwin') { assert(executablePaths.length === 1, `More than one application to run tests against was found. ${executablePaths.join(',')}`) executablePath = executablePaths[0] } else if (process.platform === 'win32') { - const executablePaths = glob.sync(path.join(CONFIG.buildOutputPath, '**', CONFIG.executableName)) + const executablePaths = glob.sync(path.join(CONFIG.buildOutputPath, '**', 'atom*.exe')) assert(executablePaths.length === 1, `More than one application to run tests against was found. ${executablePaths.join(',')}`) executablePath = executablePaths[0] } else {