diff --git a/spec/suites/TrivialNodeReporterSpec.js b/spec/suites/TrivialNodeReporterSpec.js index 2140a13..67de73a 100644 --- a/spec/suites/TrivialNodeReporterSpec.js +++ b/spec/suites/TrivialNodeReporterSpec.js @@ -11,6 +11,31 @@ describe("TrivialNodeReporter", function() { var newline = "\n"; + var passingSpec = { + results: function(){ + return {passed:function(){return true;}}; + } + }; + + var failingSpec = { + results: function(){ + return {passed:function(){return false;}}; + } + }; + + function repeatedlyInvoke(f, times) { + for(var i=0; i