UNPKG

827 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, TestSchedulerContext } from './types';
11export default class NotifyReporter extends BaseReporter {
12 private _notifier;
13 private _startRun;
14 private _globalConfig;
15 private _context;
16 static readonly filename: string;
17 constructor(globalConfig: Config.GlobalConfig, startRun: (globalConfig: Config.GlobalConfig) => unknown, context: TestSchedulerContext);
18 onRunComplete(contexts: Set<Context>, result: AggregatedResult): void;
19}