diff --git a/tasks/test-task.coffee b/tasks/test-task.coffee index 0bc4f0caa..b4e082c9b 100644 --- a/tasks/test-task.coffee +++ b/tasks/test-task.coffee @@ -10,10 +10,11 @@ module.exports = (grunt) -> passed = true done = @async() atomPath = path.resolve('atom.sh') + apmPath = path.resolve('node_modules/.bin/apm') queue = async.queue (packagePath, callback) -> options = - cmd: path.resolve('node_modules/.bin/apm') + cmd: apmPath args: ['test', '-p', atomPath] opts: cwd: packagePath