property TestResult.assertions

The test's assertions. QUnit trims these for passing tests, so this is populated for failures and empty otherwise — a passing test's assertion count is not reported.

Type

Usage

import { type TestResult } from "lib/api/test.ts";