Prevent showing the window via spec-bootstrap.coffee

This commit is contained in:
Matt Colyer
2013-10-02 16:47:27 -07:00
parent 8f80eeb63f
commit de9ab2d163
2 changed files with 1 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ try
require '../src/window'
Atom = require '../src/atom'
window.atom = new Atom()
window.atom.show()
window.atom.show() unless atom.getLoadSettings().exitWhenDone
{runSpecSuite} = require './jasmine-helper'
document.title = "Spec Suite"

View File

@@ -188,7 +188,6 @@ class Atom
show: ->
@getCurrentWindow().show()
(_.nextTick => @getCurrentWindow().minimize()) if @getLoadSettings().exitWhenDone
hide: ->
@getCurrentWindow().hide()