code: function emit(eventName, data) {
    	if (objectType(eventName) !== "string") {
    		throw new TypeError("eventName must be a string when emitting an event");
    	}
  
    	// Clone the callbacks in case one of them registers a new callback
    	var originalCallbacks = LISTENERS[eventName];
    	var callbacks = originalCallbacks ? [].concat(toConsumableArray(originalCallbacks)) : [];
  
    	for (var i = 0; i < callbacks.length; i++) {
    		callbacks[i](data);
    	}
    }
docs: Emits an event with the specified data to all currently registered listeners.
  Callbacks will fire in the order in which they are registered (FIFO). This
  function is not exposed publicly; it is used by QUnit internals to emit
  logging events.
  
  @private
  @method emit
  @param {String} eventName
  @param {Object} data
  @return {Void}