   mocha
     .reporter(options.reporter or config.test?.reporter or 'spec')
     .ui(config.test?.ui ? 'bdd')
-  testFiles.forEach (file) =>
+  testFiles.forEach (file) ->
     mocha.addFile file
-  mocha.run (failures) =>
+  mocha.run (failures) ->
     process.exit (if failures > 0 then 1 else 0)
 
 # Load the test-helpers.coffee or test-helpers.js file

    throw error if error?

    htmlFile = htmlFile.toString()
    getScriptFilesPath htmlFile, (scriptFilesPath) ->
      scriptFilesPath = scriptFilesPath.map getPublicPath
      
      async.map scriptFilesPath, fs.readFile, (error, scriptFiles) ->
        callback error, htmlFile, scriptFiles.map (x) -> x.toString()

# Setup JSDom instance with public files
setupJsDom = (publicPath, callback) ->

    
startBrunchTestRunner = (config, options) ->
  testFiles = helpers.findTestFiles config
  throw new Error("Can't find tests for this project.") if testFiles.length is 0
    
  setupJsDom config.paths.public, (window) =>
    findTestHelpersFile config.paths.test, (testHelpersFile) =>
