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
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
import { type TestAssertion } from "lib/api/index.ts";