type alias BrowserRunOutcome

How a browser run ended, decided from QUnit's tally plus whether a WS done arrived.

const outcome: BrowserRunOutcome = classifyRunOutcome(null, false);
outcome.kind; // 'no-tests-ran'

Definition

{ kind: "completed"; }
| { kind: "empty"; }
| { kind: "no-tests-ran"; }
| { kind: "stalled"; }

Usage

import { type BrowserRunOutcome } from "lib/commands/test/tests-in-browser.ts";