mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-27 17:42:59 +08:00
fix(specs): Run specs from ~/.inbox-spec to prevent collision
This commit is contained in:
parent
3d2a576bf4
commit
a7a46abb8b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue