Skip to content

Commit

Permalink
Small visual improvement and code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
devalnor committed Jan 7, 2016
1 parent b759ec4 commit 37ff1f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mxunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ module.exports = {
}
}

console.log('\n%s\n' + fix.repeat('-', lineWidth), suiteName);
xcolor.log('\n{{blue}}' + suiteName + '{{/color}}\n')
console.log(fix.repeat('-', lineWidth));
var tests = suites[suiteName];
var queuedTests = [];

Expand All @@ -96,7 +97,6 @@ module.exports = {
request(path, function(err, resp, body){
if (!err && resp.statusCode === 200){
body = JSON.parse(body)[0];
// console.log(body);
if (body.TESTSTATUS === 'Passed'){
xcolor.log(fix.padr(test, lineWidth - 9) + ' [{{bg green}}{{white}} PASS {{/color}}]');
callback(true);
Expand Down

0 comments on commit 37ff1f3

Please sign in to comment.