cleanup
Thomas Aylott committed
Nov 11, 2013 at 15:12 UTC
c1925db06752f4bc875d5a979336228db1d54f30
1 file changed
+1
-4
test/lib/reportTestResults.browser.js
+1
-4
@@ -2,15 +2,12 @@
2
env.addReporter(new jasmine.JSReporter());
3
4
function report(){
5
- console.log('report');
5
if (typeof jasmine.getJSReport != 'function') {
6
console.log("typeof jasmine.getJSReport != 'function'");
7
return setTimeout(report, 100);
8
}
10
- postDataToURL(jasmine.getJSReport(), '/reportTestResults', function(error, event){
11
- console.log(error, event);
9
+ postDataToURL(jasmine.getJSReport(), '/reportTestResults', function(error, results){
10
if (error) return console.error(error);
13
- console.log(event);
11
});
12
}
13