code: function () {
  
        function draw(color, n) {
          n = Math.max(parseInt(n), 0);
  
          write(' ');
          write('\u001b[' + color + 'm' + n + '\u001b[0m');
          write('\n');
        }
  
        draw(colors.green, this.passed);
        draw(colors.fail, this.failed);
        draw(colors.pending, this.pending + ' ');
        write('\n');
  
        cursor.up(this.numberOfLines);
      }
docs: Draw the "scoreboard" showing the number
  of passes, failures and pending tests.
  
  @api private