Functions

f
setupWebServer(
config: Config,
cachedContent: CachedContent
): HTTPServer

Creates and returns an HTTPServer with routes for the test HTML, filtered test page, and static assets, plus a WebSocket handler that streams TAP events.

Usage

import * as mod from "lib/setup/web-server.ts";