One QUnit assertion inside a testEnd payload.
const assertion: TestAssertion = { passed: false, todo: false, actual: 3, expected: 4 }; assertion.passed; // false — this assertion is what failed its test
passed: boolean
true when the assertion held.
todo: boolean
true for assertions inside a todo test, which are expected to fail.
optional
stack: string
Raw stack captured at the assertion, with frames pointing at the bundle.
optional
actual: unknown
The value the assertion actually saw.
optional
expected: unknown
The value the assertion required.
optional
message: string
The assertion's message, when one was given.