Add addReporter() to jasmine externs.
See
@@ -377,6 +377,10 @@ jasmine.Suite.prototype.afterAll = function(afterAllFunction) {};
jasmine.Env = function() {};
+/** @param {!jasmine.Reporter} reporterToAdd */
+jasmine.Env.prototype.addReporter = function(reporterToAdd) {};
+
+
/** @type {jasmine.Spec} */
jasmine.Env.prototype.currentSpec;
@@ -407,6 +411,19 @@ jasmine.Env.prototype.afterAll = function(handler) {};
jasmine.getEnv = function() {};
+/** @record */
+jasmine.Reporter = function() {};
+
+/**
+ * @param {{id: number, description: string, fullName: string, status: string}}
+ * result
+ */
+jasmine.Reporter.prototype.specDone = function(result) {};
+
+/** @param {{id: number, description: string, fullName: string}} result */
+jasmine.Reporter.prototype.specStarted = function(result) {};
+
+
/** @param {function(this:jasmine.Spec, function())} handler */
function beforeEach(handler) {}
