Sha256: ed73a5499abf3877a86814e8e4c4ee1f75b6ddd253d9d44ec8b93936bd3699e4

Contents?: true

Size: 418 Bytes

Versions: 9

Compression:

Stored size: 418 Bytes

Contents

class Teaspoon.Reporters.Console extends Teaspoon.Reporters.Console

  constructor: (runner) ->
    super
    @reportRunnerStarting(runner)
    runner.on("fail", @reportSpecResults)
    runner.on("test end", @reportSpecResults)
    runner.on("end", @reportRunnerResults)


  reportSpecResults: (spec, err) =>
    if err
      spec.err = err
      @reportSpecResults(spec) if spec.type == "hook"
      return
    super

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
teaspoon-0.9.1 app/assets/javascripts/teaspoon/mocha/reporters/console.coffee
teaspoon-0.9.0 app/assets/javascripts/teaspoon/mocha/reporters/console.coffee
teaspoon-0.8.0 app/assets/javascripts/teaspoon/mocha/reporters/console.coffee
teaspoon-0.7.9 app/assets/javascripts/teaspoon/mocha/reporters/console.coffee
teaspoon-0.7.8 app/assets/javascripts/teaspoon/mocha/reporters/console.coffee
teaspoon-0.7.7 app/assets/javascripts/teaspoon/mocha/reporters/console.coffee
teaspoon-0.7.6 app/assets/javascripts/teaspoon/mocha/reporters/console.coffee
teaspoon-0.7.5 app/assets/javascripts/teaspoon/mocha/reporters/console.coffee
teaspoon-0.7.4 app/assets/javascripts/teaspoon/mocha/reporters/console.coffee