function setupWebServer
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.

Parameters

config: Config
cachedContent: CachedContent

Return Type

HTTPServer

Usage

import setupWebServer from "lib/setup/web-server.ts";