UNPKG

1.07 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 */
7import type { AggregatedResult, AssertionResult, Suite, TestResult } from '@jest/test-result';
8import type { Config } from '@jest/types';
9import DefaultReporter from './DefaultReporter';
10import type { Test } from './types';
11export default class VerboseReporter extends DefaultReporter {
12 protected _globalConfig: Config.GlobalConfig;
13 static readonly filename: string;
14 constructor(globalConfig: Config.GlobalConfig);
15 static filterTestResults(testResults: Array<AssertionResult>): Array<AssertionResult>;
16 static groupTestsBySuites(testResults: Array<AssertionResult>): Suite;
17 onTestResult(test: Test, result: TestResult, aggregatedResults: AggregatedResult): void;
18 private _logTestResults;
19 private _logSuite;
20 private _getIcon;
21 private _logTest;
22 private _logTests;
23 private _logTodoOrPendingTest;
24 private _logLine;
25}