The cause of the error.
namespace
test.default.EventData
namespace EventData
interface LocationInfo
interface TestComplete
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
interface TestDiagnostic
- column?: number
The column number where the test is defined, or
undefined
if 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
undefined
if the test was run through the REPL.
interface TestEnqueue
interface TestFail
interface TestPass
interface TestPlan
interface TestStart
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
.