mirror of
https://github.com/facebook/react.git
synced 2026-02-26 07:55:55 +00:00
cleanup
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user