dwf/rva: Added Incremental Reporter, refactored abstract reporter class, added tests! 78!!!
This commit is contained in:
+9
-1
@@ -58,7 +58,7 @@ var nestedResults = function() {
|
||||
*
|
||||
**/
|
||||
var actionCollection = function () {
|
||||
var that = {
|
||||
var that = {
|
||||
actions: [],
|
||||
index: 0,
|
||||
finished: false,
|
||||
@@ -202,7 +202,15 @@ var it = function (description, func) {
|
||||
that.currentTimeout = 0;
|
||||
},
|
||||
|
||||
finishCallback: function () {
|
||||
if (Jasmine.reporter) {
|
||||
Jasmine.reporter.addSpecResults(that.results);
|
||||
Jasmine.reporter.report();
|
||||
}
|
||||
},
|
||||
|
||||
finish: function() {
|
||||
that.finishCallback();
|
||||
that.finished = true;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user