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">
-
-
Optional testPath: string | undefined
-
Optional reuseMessage: boolean | undefined
Returns string
Const formatResultsErrors
formatResultsErrors: function
Type declaration
-
-
Parameters
-
-
config: Pick<Config.ProjectConfig, "rootDir" | "testMatch">
-
-
Optional testPath: string | undefined
Returns string
|
null
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">
-
-
Optional testPath: string | undefined
Returns string
Const getStackTraceLines
getStackTraceLines: function
Type declaration
-
-
Parameters
Returns string[]
Const getTopFrame
getTopFrame: function
Type declaration
-
- (lines: string[]): Frame | null
-
Parameters
Returns Frame
|
null
Const separateMessageFromStack
separateMessageFromStack: function
Type declaration
-
- (content: string): object
-
Parameters
Returns object
-
message: string
-
stack: string