UNPKG

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