     new JasmineListReporter(options)
   else
     {TerminalReporter} = require 'jasmine-tagged'
-    new TerminalReporter(options)
+    new TerminalReporter(options)

  jasmineEnv.execute()
  promise

disableFocusMethods = ->
  ['fdescribe', 'ffdescribe', 'fffdescribe', 'fit', 'ffit', 'fffit'].forEach (methodName) ->

module.exports = ({logFile, headless, testPaths, buildAtomEnvironment}) ->
  window[key] = value for key, value of require '../vendor/jasmine'
  require 'jasmine-tagged'

  # Rewrite global jasmine functions to have support for async tests.
  # This way packages can create async specs without having to import these from the
  # async-spec-helpers file.
  global.it = asyncifyJasmineFn global.it, 1
  global.fit = asyncifyJasmineFn global.fit, 1
  global.ffit = asyncifyJasmineFn global.ffit, 1
  global.fffit = asyncifyJasmineFn global.fffit, 1
  global.beforeEach = asyncifyJasmineFn global.beforeEach, 0
  global.afterEach = asyncifyJasmineFn global.afterEach, 0

  # Allow document.title to be assigned in specs without screwing up spec window title
  documentTitle = null
