Files
panic-server/server/events.js
Jesse Gibson 3081fbc9d6 Add event emitter, always name tests
Created an event emitter instance for reporters and the test stack. Currently, the only event that fires is "begin".

All tests are now named, whether by their given name or as the name "Anonymous".
2016-03-03 17:14:52 -07:00

12 lines
201 B
JavaScript

/*jslint node: true*/
/*
Used to notify reporters and
the test stack when "done",
"progress", "fail" and "pass"
events happen.
*/
var Emitter = require('events');
module.exports = new Emitter();