UNPKG

@90poe/jest-performant-warnings-stats-reporter

Version:

A flexible jest reporter that provides ability to show statistics of warnings and group them

13 lines (12 loc) 929 B
import { TestResult } from '@jest/test-result'; import { Config } from '@jest/types'; import { CustomLogEntry, PrepareWarnings, Warning } from './types'; declare const log: ({ message, type, origin }: CustomLogEntry) => void; declare const formatResult: (status: string, title: string) => string; declare const getFileName: (filePath: string) => string; declare const omitWarningsData: (globalConfig: Config.InitialOptions) => boolean | undefined; declare const prepareWarnings: PrepareWarnings; declare const addFilesSetToWarningConfig: (config: Warning) => Warning; declare const prepareTableRow: (testResult: TestResult, limit: number, globalConfig: Config.InitialOptions) => Array<string | number>; declare const prepareGreetingMessage: (numTotalTestSuites: number) => string; export { addFilesSetToWarningConfig, formatResult, getFileName, log, omitWarningsData, prepareGreetingMessage, prepareTableRow, prepareWarnings, };