mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Doc test flag
This commit is contained in:
@@ -15,11 +15,10 @@ class AtomApplication
|
||||
menu: null
|
||||
resourcePath: null
|
||||
pathsToOpen: null
|
||||
testMode: null
|
||||
version: null
|
||||
socketPath: '/tmp/atom.sock'
|
||||
|
||||
constructor: ({@resourcePath, @pathsToOpen, @testMode, @version, pidToKillWhenClosed}) ->
|
||||
constructor: ({@resourcePath, @pathsToOpen, @version, test, pidToKillWhenClosed}) ->
|
||||
@pidsToOpenWindows = {}
|
||||
@pathsToOpen ?= [null]
|
||||
@windows = []
|
||||
@@ -32,7 +31,7 @@ class AtomApplication
|
||||
@buildApplicationMenu()
|
||||
@handleEvents()
|
||||
|
||||
if @testMode
|
||||
if test
|
||||
@runSpecs(true)
|
||||
else
|
||||
@openPaths(@pathsToOpen, pidToKillWhenClosed)
|
||||
|
||||
Reference in New Issue
Block a user