```
transactionsComplete = () ->
      reporterCount = EventEmitter.listenerCount(config.emitter, 'end')
      config.emitter.emit 'end' , () ->
        reporterCount--
        if stats.fileBasedReporters is 0
          callback(null, stats)
```