From 403908c7da317e188f8c12eb03864dd01e906c06 Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Wed, 29 May 2013 20:32:58 +0300 Subject: [PATCH] add logging for test reporting --- tests/selenium.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/selenium.js b/tests/selenium.js index f99a59b..6842ca1 100644 --- a/tests/selenium.js +++ b/tests/selenium.js @@ -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); - post_req.end(); + request.write(result); + request.end(); } fs.writeFile(filename, result);