Functions

f
addQUnitFilter(
url: string,
filter: string | undefined
): string

The URL to open, with the run's own filter applied as QUnit's.

f
couldBeAPage(url: string): boolean

Whether a URL could name a page at all: .html, or no extension.

f
filterRemotePagesFromConfig(config: Config): Promise<string[]>

The inputs of a run that are pages somebody else serves, in the order they were given.

f
isRemoteQUnitPage(url: string): Promise<boolean>

Whether a URL answers with a QUnit page, remembered per process.

f
looksLikeQUnitPage(html: string): boolean

What a QUnit page looks like from the outside.

f
runQUnitRemotePage(
config: Config,
page: Page,
url: string
): Promise<void>

Opens one remote QUnit page and reports what it does, test by test.

f
trapQUnitHooks(): void

The page-side hook, as one self-contained function.

Type Aliases

T
PageUnrunnableFailure = Failure.Of<PageUnrunnable>

The one failure this module declares.

Variables

v
PageUnrunnable: Failure.FailureFactory<"PageUnrunnable", { url: string; why: string; }>

The page could not be driven — it never loaded, or QUnit never finished.