Example #1
0
File: index.js Project: Dzenly/tia
exports.total = function () {
  cfg.logMsg('=================');
  let msg = 'Passes: ' + inner.passCnt + ', Fails: ' + inner.failCnt;
  msg = colorMsg(inner.failCnt > 0 ? chalk.red : chalk.green, msg);
  let timeMsg = timer.timeDiffStr(inner.totStartTime);
  cfg.logMsg(msg + ', Duration: ' + timeMsg);
};
Example #2
0
File: index.js Project: Dzenly/tia
function timeDiffStr(startTime) {
  return colorMsg(chalk.cyan, timer.timeDiffStr(startTime));
}