mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Enable core specs when run outside of clone repo
The failing specs have been updated so that specs can now run without the requirement of a Git repository at the root.
This commit is contained in:
@@ -27,11 +27,6 @@ setSpecDirectory = (specDirectory) ->
|
||||
runAllSpecs = ->
|
||||
{resourcePath} = atom.getLoadSettings()
|
||||
|
||||
# Only run core specs when resource path is the Atom repository
|
||||
if Git.exists(resourcePath)
|
||||
requireSpecs(path.join(resourcePath, 'spec'))
|
||||
setSpecType('core')
|
||||
|
||||
fixturesPackagesPath = path.join(__dirname, 'fixtures', 'packages')
|
||||
packagePaths = atom.packages.getAvailablePackageNames().map (packageName) ->
|
||||
atom.packages.resolvePackagePath(packageName)
|
||||
|
||||
Reference in New Issue
Block a user