f
buildTestBundle(): Promise<void>
config: Config,
cachedContent: CachedContent
Pre-builds the esbuild bundle for all test files and caches the result in cachedContent.
f
runTestsInBrowser(): Promise<Connections | undefined>
config: Config,
cachedContent?: CachedContent,
connections: Connections,
targetTestFilesToFilter?: string[]
Runs the esbuild-bundled tests inside a Playwright-controlled browser page and streams TAP output.
Usage
import * as mod from "lib/commands/run/tests-in-browser.ts";