Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
move console.log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishkeshan committed Feb 14, 2024
1 parent d3534ca commit 1e11a3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/aggregate-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ function AggregateResults(runnerResults) {
colWidths: [20, 13, 13],
});

console.log(COLORS.magenta, "Test runner summary", COLORS.reset);

const totals = getTableTotals(runnerResults, (row) => table.push(row));

// const totalPercent = totals.reduce(totalPercentageReducer, 0).toFixed(2) + "%";
Expand Down
2 changes: 2 additions & 0 deletions src/console-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ exports.ConsoleResults = function ConsoleResults(runnerResults) {
console.log(`Total points for ${runner}: ${score.toFixed(2)}/${maxScore}\n`)
})

console.log(COLORS.magenta, 'Test runner summary', COLORS.reset)

// Calculate and display grand total points
AggregateResults(runnerResults)
console.log(
Expand Down

0 comments on commit 1e11a3f

Please sign in to comment.