mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Fix for packages with no spec/fixtures directory
This commit is contained in:
@@ -61,6 +61,8 @@ 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')
|
||||
|
||||
beforeEach ->
|
||||
documentTitle = null
|
||||
|
||||
Reference in New Issue
Block a user