mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[minor] Everybody loves Unicode
Tick and X marks in test runner output.
This commit is contained in:
parent
b76680b045
commit
38bd906f2b
@ -45,8 +45,8 @@ function runTest(test, callback) {
|
||||
child.on('exit', function (exitCode) {
|
||||
clearTimeout(killTimeout);
|
||||
|
||||
console.log(path.basename(test).yellow + ' exited with ' +
|
||||
((exitCode) ? exitCode.toString().red : exitCode.toString().green));
|
||||
console.log(' ' + ((exitCode) ? '✘'.red : '✔'.green) + ' ' +
|
||||
path.basename(test) + (exitCode && ' (exit code: ' + exitCode + ')'));
|
||||
results[test] = { exitCode: exitCode };
|
||||
callback();
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user