mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-15 23:12:04 +00:00
test(ui): type the about-me mock and drop the es2018-only regex flag
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user