mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
add logging for test reporting
This commit is contained in:
parent
8c8128b80a
commit
403908c7da
@ -166,11 +166,13 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var post_req = http.request(options, function(res) {
|
console.log("Sending results for", browser);
|
||||||
|
var request = http.request(options, function(res) {
|
||||||
|
console.log(colors.green, "Results sent for", browser);
|
||||||
});
|
});
|
||||||
|
|
||||||
post_req.write(result);
|
request.write(result);
|
||||||
post_req.end();
|
request.end();
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.writeFile(filename, result);
|
fs.writeFile(filename, result);
|
||||||
|
Loading…
Reference in New Issue
Block a user