diff --git a/lib/logging/console.js b/lib/logging/console.js index d340348..ec27744 100644 --- a/lib/logging/console.js +++ b/lib/logging/console.js @@ -7,9 +7,9 @@ var websocket = null var logger = (function () { // eslint-disable-line no-unused-vars const sep = '\n/* ### NEXT TESTCASE ############################## */' const color = { - red: '\033[1;31m', // eslint-disable-line - green: '\033[1;32m', // eslint-disable-line - clear: '\033[0m' // eslint-disable-line + red: '\u{1b}[1;31m', + green: '\u{1b}[1;32m', + clear: '\u{1b}[0m' } if (utils.platform.isWindows) { color.red = '' @@ -49,7 +49,7 @@ var logger = (function () { // eslint-disable-line no-unused-vars } function JSError (msg) { - error(comment("ERROR: " + msg)) + error(comment('ERROR: ' + msg)) } function comment (msg) {