Functions

f
findScriptPlaceholder(html: string): string | undefined

Returns the explicit {{qunitxScript}} placeholder when it exists in the template.

f
injectScript(
html: string,
content: string
): string

Injects the qunitx runner script block into a dynamic HTML template.

f
isCustomTemplate(html: string): boolean

Reports whether an HTML template looks dynamic enough to act as a custom runner template.