An object containing the counts of various test results.
interface
test.default.EventData.TestSummary
interface TestSummary
- counts: { cancelled: number; passed: number; skipped: number; suites: number; tests: number; todo: number; topLevel: number }
- 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
.