Functions

f
clearBundles(build: BuildState): void

Invalidates a group's compiled bundles so the next run rebuilds them from disk.

f
create(): RunState

Fresh run state for a single qunitx invocation. Built once per run in Config.setup().

f
newGroup(
index?: number,
selectors?: QUnitSelector[]
): GroupState

Fresh per-group state. One per concurrent group; the group spread in runConcurrentMode replaces state.group with this so groups never share the slots inside it.

f
requestAbort(state: RunState): void

Asks every live server to tell its pages to drop the rest of the QUnit queue, and records that this run was cut short.

f
reset(
results: RunResults,
coverageEnabled: boolean
): void

Clears the run accumulators in place for a re-run.

f
reusablePageSlot(state: RunState): { page: Page | null; } | null

The daemon's reusable Page slot, or null when reuse does not apply.