perform front-end unit test from "view/Group" - #1879

This commit is contained in:
Laurent GAY
2025-10-20 11:26:39 +02:00
committed by setop
parent 7ea9645a6c
commit ef6f875e74
18 changed files with 915 additions and 1 deletions

View File

@@ -71,6 +71,7 @@ export function defaultResolvers(
export function htmlRemoveId(htmlText: string) {
return htmlText
.replaceAll(/ id="[a-z0-9]+" /gi, ' id="" ')
.replaceAll(/ aria-controls="[a-z0-9]+" /gi, ' aria-controls="" ')
.replaceAll(/ for="[a-z0-9]+"/gi, ' for=""');
}