Merge pull request #15990 from atom/non-asar-legacy-spec-project-path

Don't assign a default project path for package specs that
This commit is contained in:
Nathan Sobo
2017-10-25 12:57:16 -06:00
committed by GitHub

View File

@@ -58,7 +58,7 @@ if specPackagePath = FindParentDir.sync(testPaths[0], 'package.json')
if specDirectory = FindParentDir.sync(testPaths[0], 'fixtures')
specProjectPath = path.join(specDirectory, 'fixtures')
else
specProjectPath = path.join(__dirname, 'fixtures')
specProjectPath = require('os').tmpdir()
beforeEach ->
atom.project.setPaths([specProjectPath])