The cause of the error.
namespace
test.default.EventData
namespace EventData
interface LocationInfo
interface TestComplete
- column?: number
The column number where the test is defined, or
undefinedif the test was run through the REPL. - line?: number
The line number where the test is defined, or
undefinedif the test was run through the REPL. - testId: number
A numeric identifier for this test instance, unique within the test file's process. Consistent across all events for the same test instance, enabling reliable correlation in custom reporters.
interface TestCoverage
- summary: { files: { branches: { count: number; line: number }[]; coveredBranchCount: number; coveredBranchPercent: number; coveredFunctionCount: number; coveredFunctionPercent: number; coveredLineCount: number; coveredLinePercent: number; functions: { count: number; line: number; name: string }[]; lines: { count: number; line: number }[]; path: string; totalBranchCount: number; totalFunctionCount: number; totalLineCount: number }[]; thresholds: { branch: number; function: number; line: number }; totals: { coveredBranchCount: number; coveredBranchPercent: number; coveredFunctionCount: number; coveredFunctionPercent: number; coveredLineCount: number; coveredLinePercent: number; totalBranchCount: number; totalFunctionCount: number; totalLineCount: number }; workingDirectory: string }
An object containing the coverage report.
interface TestDequeue
- column?: number
The column number where the test is defined, or
undefinedif the test was run through the REPL. - line?: number
The line number where the test is defined, or
undefinedif the test was run through the REPL. - testId: number
A numeric identifier for this test instance, unique within the test file's process. Consistent across all events for the same test instance, enabling reliable correlation in custom reporters.
interface TestDiagnostic
- column?: number
The column number where the test is defined, or
undefinedif the test was run through the REPL. - 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.
interface TestEnqueue
- column?: number
The column number where the test is defined, or
undefinedif the test was run through the REPL. - line?: number
The line number where the test is defined, or
undefinedif the test was run through the REPL. - testId: number
A numeric identifier for this test instance, unique within the test file's process. Consistent across all events for the same test instance, enabling reliable correlation in custom reporters.
interface TestFail
- column?: number
The column number where the test is defined, or
undefinedif the test was run through the REPL. - line?: number
The line number where the test is defined, or
undefinedif the test was run through the REPL. - testId: number
A numeric identifier for this test instance, unique within the test file's process. Consistent across all events for the same test instance, enabling reliable correlation in custom reporters.
interface TestInterrupted
interface TestPass
- column?: number
The column number where the test is defined, or
undefinedif the test was run through the REPL. - details: { attempt: number; duration_ms: number; passed_on_attempt: number; type: 'suite' | 'test' }
Additional execution metadata.
- line?: number
The line number where the test is defined, or
undefinedif the test was run through the REPL. - testId: number
A numeric identifier for this test instance, unique within the test file's process. Consistent across all events for the same test instance, enabling reliable correlation in custom reporters.
interface TestPlan
interface TestStart
- column?: number
The column number where the test is defined, or
undefinedif the test was run through the REPL. - line?: number
The line number where the test is defined, or
undefinedif the test was run through the REPL. - testId: number
A numeric identifier for this test instance, unique within the test file's process. Consistent across all events for the same test instance, enabling reliable correlation in custom reporters.
interface TestStderr
interface TestStdout
interface TestSummary
- counts: { cancelled: number; passed: number; skipped: number; suites: number; tests: number; todo: number; topLevel: number }
An object containing the counts of various test results.
- file: undefined | string
The path of the test file that generated the summary. If the summary corresponds to multiple files, this value is
undefined. - success: boolean
Indicates whether or not the test run is considered successful or not. If any error condition occurs, such as a failing test or unmet coverage threshold, this value will be set to
false.