visionmedia/mocha — Issue #203: Runner.on('end')
Author: quangv
Created: 2012-01-10 22:05:42+00:00
State: open

Just wanted to make sure...

So there's no current way to add event listeners to the current running suite, inside a current test/spec right?

Kinda like...

```javascript
describe('end', function() {
it('should fire on suite end', function() {
Runner.on('end', function() {
console.log('Mocha Runner has ended');
});
});
});
```
I wanted to fire a function when mocha ends.
Thanks, :)