fix(specs): Run specs from ~/.inbox-spec to prevent collision

This commit is contained in:
Ben Gotow 2015-03-06 10:31:10 -08:00
parent 3d2a576bf4
commit a7a46abb8b

View file

@ -2,6 +2,7 @@
require('crash-reporter').start(productName: 'Atom', companyName: 'GitHub')
path = require 'path'
fs = require 'fs-plus'
# Swap out Node's native Promise for Bluebird, which allows us to
# do fancy things like handle exceptions inside promise blocks
@ -10,6 +11,7 @@ global.Promise = require 'bluebird'
try
require '../src/window'
Atom = require '../src/atom'
Atom.configDirPath = fs.absolute('~/.inbox-spec')
window.atom = Atom.loadOrCreate('spec')
# Show window synchronously so a focusout doesn't fire on input elements