- })},
-
- function(result) {
- console.log("MKWS tests are successfully done in " + result.time/1000 + " seconds. Hooray!");
- console.log("jasmine duration: " + result.duration);
- console.log("jasmine passing: " + result.passing);
- },
-
- function (result) {
- var error_png = "./mkws-error.png";
- var error_html = "./mkws-error.html";
-
- console.log("MKWS tests failed after " + result.time/1000 + " seconds");
- console.log("keep screenshot in '" + error_png + "'");
- page.render(error_png);
-
- console.log("keep html DOM in '" + error_html + "'");
- var html = result.html + "\n\n<!-- mkws: " + JSON.stringify(result.mkws) + " -->\n";
- var fs = require('fs');
- fs.write(error_html, html, "wb");
- },
- run_time * 1000);
+ })
+ },
+
+ function (result) {
+ console.log("MKWS tests are successfully done in " + result.time / 1000 + " seconds. Hooray!");
+ console.log("jasmine duration: " + result.duration);
+ console.log("jasmine passing: " + result.passing);
+ },
+
+ function (result) {
+ var error_png = "./mkws-error.png";
+ var error_html = "./mkws-error.html";
+
+ console.log("MKWS tests failed after " + result.time / 1000 + " seconds");
+ console.log("keep screenshot in '" + error_png + "'");
+ page.render(error_png);
+
+ console.log("keep html DOM in '" + error_html + "'");
+ var html = result.html + "\n\n<!-- mkws: " + JSON.stringify(result.mkws) + " -->\n";
+ var fs = require('fs');
+ fs.write(error_html, html, "wb");
+ }, run_time * 1000);