diff --git a/spec/spec-bootstrap.coffee b/spec/spec-bootstrap.coffee index 7b86a31cc..5158c9bee 100644 --- a/spec/spec-bootstrap.coffee +++ b/spec/spec-bootstrap.coffee @@ -14,8 +14,8 @@ try {runSpecSuite} = require './jasmine-helper' - # Add 'src/exports' to module search path. - exportsPath = path.resolve(atom.getLoadSettings().resourcePath, 'exports') + # Add 'exports' to module search path. + exportsPath = path.join(atom.getLoadSettings().resourcePath, 'exports') require('module').globalPaths.push(exportsPath) # Still set NODE_PATH since tasks may need it. process.env.NODE_PATH = exportsPath