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.
import * as RunState from './run-state.ts'; const group = RunState.newGroup(2); group.index; // 2 group.phase; // 'bundling'
optional
selectors: QUnitSelector[]