Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "node_modules/jest-message-util/build/index.d"

Index

Type aliases

StackTraceConfig

StackTraceConfig: Pick<Config.ProjectConfig, "rootDir" | "testMatch">

StackTraceOptions

StackTraceOptions: object

Type declaration

  • noStackTrace: boolean

Variables

Const formatExecError

formatExecError: function

Type declaration

    • (error: string | Error | SerializableError | undefined, config: Pick<Config.ProjectConfig, "rootDir" | "testMatch">, options: StackTraceOptions, testPath?: string | undefined, reuseMessage?: boolean | undefined): string
    • Parameters

      • error: string | Error | SerializableError | undefined
      • config: Pick<Config.ProjectConfig, "rootDir" | "testMatch">
      • options: StackTraceOptions
      • Optional testPath: string | undefined
      • Optional reuseMessage: boolean | undefined

      Returns string

Const formatResultsErrors

formatResultsErrors: function

Type declaration

Const formatStackTrace

formatStackTrace: function

Type declaration

    • (stack: string, config: Pick<Config.ProjectConfig, "rootDir" | "testMatch">, options: StackTraceOptions, testPath?: string | undefined): string
    • Parameters

      • stack: string
      • config: Pick<Config.ProjectConfig, "rootDir" | "testMatch">
      • options: StackTraceOptions
      • Optional testPath: string | undefined

      Returns string

Const getStackTraceLines

getStackTraceLines: function

Type declaration

Const getTopFrame

getTopFrame: function

Type declaration

    • (lines: string[]): Frame | null
    • Parameters

      • lines: string[]

      Returns Frame | null

Const separateMessageFromStack

separateMessageFromStack: function

Type declaration

    • (content: string): object
    • Parameters

      • content: string

      Returns object

      • message: string
      • stack: string

Generated using TypeDoc