UNPKG

915 BTypeScriptView Raw
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 */
7import type { AggregatedResult } from '@jest/test-result';
8import type { Config } from '@jest/types';
9import BaseReporter from './BaseReporter';
10import type { Context, ReporterOnStartOptions } from './types';
11export default class SummaryReporter extends BaseReporter {
12 private _estimatedTime;
13 private _globalConfig;
14 static readonly filename: string;
15 constructor(globalConfig: Config.GlobalConfig);
16 private _write;
17 onRunStart(aggregatedResults: AggregatedResult, options: ReporterOnStartOptions): void;
18 onRunComplete(contexts: Set<Context>, aggregatedResults: AggregatedResult): void;
19 private _printSnapshotSummary;
20 private _printSummary;
21 private _getTestSummary;
22}