function storeCallsAndErrors(test, errors) {
  testDoneTestsSeen.push(test.name);
  /** @suppress {missingProperties} suppression added to enable type checking */
  testDoneErrorsSeen[test.name] = [];
  for (let i = 0; i < errors.length; i++) {
    testDoneErrorsSeen[test.name].push(errors[i].split('\n')[0]);
  }
  /** @suppress {missingProperties} suppression added to enable type checking */
  testDoneRuntime[test.name] = test.getElapsedTime();
}
@param {TestCase} test
@param {Array<string>} errors
@suppress {missingProperties} suppression added to enable type checking