Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Don't assign a default project path for package specs that don't have a fixtures directory #15990

Merged
merged 1 commit into from Oct 25, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/spec-helper.coffee
Expand Up @@ -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])
Expand Down