test(ui): type the about-me mock and drop the es2018-only regex flag

This commit is contained in:
Marc-André Bombeck committed 2026-07-26 17:26:56 +02:00
1 parent f5f7d7d9d8
commit 78644ab77e
2 files changed
+33 -16

No files matched your search

@@ -539,7 +539,7 @@ const D2 =
/["`]\/api\/[^"`?\s]*(?:disconnect|revoke|reset|purge|clear|wipe|bulk-delete)[^"`?\s]*/;
/** D3 — a write payload that blanks a named field. */
const D3 =
/(?:\.mutate|\.mutateAsync|apiPut|apiPatch|apiPost)[<(]?\(\s*(?:"[^"]*",\s*)?\{[^{}]*?\b\w+:\s*(?:""|null)/s;
/(?:\.mutate|\.mutateAsync|apiPut|apiPatch|apiPost)[<(]?\(\s*(?:"[^"]*",\s*)?\{[^{}]*?\b\w+:\s*(?:""|null)/;
/**
* Where a destructive CONTROL can live. Route handlers are the other end of