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) {
|
child.on('exit', function (exitCode) {
|
||||||
clearTimeout(killTimeout);
|
clearTimeout(killTimeout);
|
||||||
|
|
||||||
console.log(path.basename(test).yellow + ' exited with ' +
|
console.log(' ' + ((exitCode) ? '✘'.red : '✔'.green) + ' ' +
|
||||||
((exitCode) ? exitCode.toString().red : exitCode.toString().green));
|
path.basename(test) + (exitCode && ' (exit code: ' + exitCode + ')'));
|
||||||
results[test] = { exitCode: exitCode };
|
results[test] = { exitCode: exitCode };
|
||||||
callback();
|
callback();
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user