Sha256: 01dfdf3a3f967b197b712d192ddf171b71bc2688b99fcd6b0377475cb904b98c

Contents?: true

Size: 1.03 KB

Versions: 6

Compression:

Stored size: 1.03 KB

Contents

/**
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
import type { Reporter, ReporterOnStartOptions } from '@jest/reporters';
import type { AggregatedResult, Test, TestCaseResult, TestResult } from '@jest/test-result';
import type { Context } from 'jest-runtime';
export default class ReporterDispatcher {
    private _reporters;
    constructor();
    register(reporter: Reporter): void;
    unregister(ReporterClass: Function): void;
    onTestFileResult(test: Test, testResult: TestResult, results: AggregatedResult): Promise<void>;
    onTestFileStart(test: Test): Promise<void>;
    onRunStart(results: AggregatedResult, options: ReporterOnStartOptions): Promise<void>;
    onTestCaseResult(test: Test, testCaseResult: TestCaseResult): Promise<void>;
    onRunComplete(contexts: Set<Context>, results: AggregatedResult): Promise<void>;
    getErrors(): Array<Error>;
    hasErrors(): boolean;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-0.27.1 packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.d.ts
decidim-0.26.4 packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.d.ts
decidim-0.27.0 packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.d.ts
decidim-0.26.3 packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.d.ts
decidim-0.27.0.rc2 packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.d.ts
decidim-0.27.0.rc1 packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.d.ts