interface
test.default.EventData.TestDiagnostic
interface TestDiagnostic
- column?: number
The column number where the test is defined, or
undefinedif the test was run through the REPL. - entryFile?: string
The path of the test file that was executed as the entry point of the child process that emitted this event. Only present when tests run with process isolation. May differ from
filewhen the test is defined in a module imported by the entry file. - level: 'error' | 'info' | 'warn'
The severity level of the diagnostic message. Possible values are:
'info': Informational messages.'warn': Warnings.'error': Errors.
- line?: number
The line number where the test is defined, or
undefinedif the test was run through the REPL.