abort(config: ResolvedConfig): RunResult
The result of a run that was cancelled before it began: no browser, no tests, aborted: true.
A result rather than a rejection, because cancelling is not failing — the caller asked for this
and gets the same shape back, so the code reading it needs no separate path. Exit 1, because a
run that produced no passing tests did not succeed; aborted is what says it was their doing.
import type { Config } from '../types.ts'; // Defined, not invoked: needs a resolved Config. function cancelled(config: Config) { return abort(config).status; // 'aborted' }