This commit is contained in:
Thomas Aylott
2013-11-11 15:12:35 -05:00
parent cd24cbdbf4
commit c1925db067

View File

@@ -2,15 +2,12 @@
env.addReporter(new jasmine.JSReporter());
function report(){
console.log('report');
if (typeof jasmine.getJSReport != 'function') {
console.log("typeof jasmine.getJSReport != 'function'");
return setTimeout(report, 100);
}
postDataToURL(jasmine.getJSReport(), '/reportTestResults', function(error, event){
console.log(error, event);
postDataToURL(jasmine.getJSReport(), '/reportTestResults', function(error, results){
if (error) return console.error(error);
console.log(event);
});
}