UNPKG

1.87 kBTypeScriptView 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 */
7export type { Config } from '@jest/types';
8export type { AggregatedResult, SnapshotSummary, TestResult, } from '@jest/test-result';
9export { default as BaseReporter } from './BaseReporter';
10export { default as CoverageReporter } from './CoverageReporter';
11export { default as DefaultReporter } from './DefaultReporter';
12export { default as NotifyReporter } from './NotifyReporter';
13export { default as SummaryReporter } from './SummaryReporter';
14export { default as VerboseReporter } from './VerboseReporter';
15export type { Context, Reporter, ReporterOnStartOptions, SummaryOptions, Test, } from './types';
16export declare const utils: {
17 formatTestPath: (config: import("@jest/types/build/Config").ProjectConfig | import("@jest/types/build/Config").GlobalConfig, testPath: string) => string;
18 getResultHeader: (result: import("@jest/test-result").TestResult, globalConfig: import("@jest/types/build/Config").GlobalConfig, projectConfig?: import("@jest/types/build/Config").ProjectConfig | undefined) => string;
19 getSummary: (aggregatedResults: import("@jest/test-result").AggregatedResult, options?: import("./types").SummaryOptions | undefined) => string;
20 printDisplayName: (config: import("@jest/types/build/Config").ProjectConfig) => string;
21 relativePath: (config: import("@jest/types/build/Config").ProjectConfig | import("@jest/types/build/Config").GlobalConfig, testPath: string) => {
22 basename: string;
23 dirname: string;
24 };
25 trimAndFormatPath: (pad: number, config: import("@jest/types/build/Config").ProjectConfig | import("@jest/types/build/Config").GlobalConfig, testPath: string, columns: number) => string;
26};