notify_reporter.d.ts 793 B

123456789101112131415161718
  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 { TestSchedulerContext, Context } from './types';
  10. import BaseReporter from './base_reporter';
  11. export default class NotifyReporter extends BaseReporter {
  12. private _startRun;
  13. private _globalConfig;
  14. private _context;
  15. constructor(globalConfig: Config.GlobalConfig, startRun: (globalConfig: Config.GlobalConfig) => any, context: TestSchedulerContext);
  16. onRunComplete(contexts: Set<Context>, result: AggregatedResult): void;
  17. }
  18. //# sourceMappingURL=notify_reporter.d.ts.map