ReportDispatcher.d.ts 922 B

1234567891011121314151617181920212223
  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. */
  8. import { Reporter, RunDetails } from '../types';
  9. import { SpecResult } from './Spec';
  10. import { SuiteResult } from './Suite';
  11. export default class ReportDispatcher implements Reporter {
  12. addReporter: (reporter: Reporter) => void;
  13. provideFallbackReporter: (reporter: Reporter) => void;
  14. clearReporters: () => void;
  15. jasmineDone: (runDetails: RunDetails) => void;
  16. jasmineStarted: (runDetails: RunDetails) => void;
  17. specDone: (result: SpecResult) => void;
  18. specStarted: (spec: SpecResult) => void;
  19. suiteDone: (result: SuiteResult) => void;
  20. suiteStarted: (result: SuiteResult) => void;
  21. constructor(methods: Array<keyof Reporter>);
  22. }
  23. //# sourceMappingURL=ReportDispatcher.d.ts.map