docs: function suiteFinished(suite, status, results) {
      suite.finished = true;
      suite.status = status;
      suite.duration = new Date() - suite.startTime;
      suite.results = results;
      delete suite.startTime;
  
      if (suite.index == finishedIndex) {
        for (var i = finishedIndex; i < suites.length; i++) {
          if (suites[i].finished) {
            while(suites[i].queuedTestResults.length) {
              output.testDone(suites[i], suites[i].queuedTestResults.shift());
            }
            output.suiteDone(suites[i]);
          }
          else {
            break;
          }
        }
        finishedIndex = i;
      }
  
      if (finishedIndex >= suites.length) {
        output.allDone();
      }
  
      startNextSuite();
    }