jest-message-util
- Version 30.2.0
- Published
- 21.7 kB
- 9 dependencies
- MIT license
Install
npm i jest-message-utilyarn add jest-message-utilpnpm add jest-message-utilOverview
Overview not available.
Index
Functions
function formatExecError
formatExecError: (    error: Error | TestResult.SerializableError | string | number | undefined,    config: StackTraceConfig,    options: StackTraceOptions,    testPath?: string,    reuseMessage?: boolean,    noTitle?: boolean) => string;function formatPath
formatPath: (    line: string,    config: StackTraceConfig,    relativeTestPath?: string | null) => string;function formatResultsErrors
formatResultsErrors: (    testResults: Array<TestResult.AssertionResult>,    config: StackTraceConfig,    options: StackTraceOptions,    testPath?: string) => string | null;function formatStackTrace
formatStackTrace: (    stack: string,    config: StackTraceConfig,    options: StackTraceOptions,    testPath?: string) => string;function getStackTraceLines
getStackTraceLines: (    stack: string,    options?: StackTraceOptions) => Array<string>;function getTopFrame
getTopFrame: (lines: Array<string>) => Frame | null;function indentAllLines
indentAllLines: (lines: string) => string;function separateMessageFromStack
separateMessageFromStack: (content: string) => {    message: string;    stack: string;};Interfaces
Type Aliases
type StackTraceConfig
type StackTraceConfig = Pick<Config.ProjectConfig, 'rootDir' | 'testMatch'>;type StackTraceOptions
type StackTraceOptions = {    noStackTrace: boolean;    noCodeFrame?: boolean;};Package Files (1)
Dependencies (9)
Dev Dependencies (4)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/jest-message-util.
- Markdown[](https://www.jsdocs.io/package/jest-message-util)
- HTML<a href="https://www.jsdocs.io/package/jest-message-util"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
 Package analyzed in 3155 ms.
- Missing or incorrect documentation? Open an issue for this package.
