Lupa API Reference / @pawel-up/lupa/runner / HarnessConfig
Interface: HarnessConfig
Defined in: src/runner/types.ts:193
Configuration options for the browser test harness HTML
Properties
stylesheets?
optionalstylesheets?:string[]
Defined in: src/runner/types.ts:205
Optional list of absolute or relative CSS file paths to include in the harness.
template?
optionaltemplate?:string| ((context) =>string)
Defined in: src/runner/types.ts:200
Optional custom HTML template. It can be a function that receives the required scripts and stylesheets and returns the full HTML string. Alternatively, it can be an HTML string containing the <!-- lupa-scripts --> and <!-- lupa-stylesheets --> placeholders.