summary_reporter.d.ts 909 B

12345678910111213141516171819202122
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. import { Config } from '@jest/types';
  8. import { AggregatedResult } from '@jest/test-result';
  9. import { Context, ReporterOnStartOptions } from './types';
  10. import BaseReporter from './base_reporter';
  11. export default class SummaryReporter extends BaseReporter {
  12. private _estimatedTime;
  13. private _globalConfig;
  14. constructor(globalConfig: Config.GlobalConfig);
  15. private _write;
  16. onRunStart(aggregatedResults: AggregatedResult, options: ReporterOnStartOptions): void;
  17. onRunComplete(contexts: Set<Context>, aggregatedResults: AggregatedResult): void;
  18. private _printSnapshotSummary;
  19. private _printSummary;
  20. private _getTestSummary;
  21. }
  22. //# sourceMappingURL=summary_reporter.d.ts.map