test: register the push unsubscribe DELETE by hand

The DELETE behind "Disable push" moved into the shared
unsubscribeWebPush helper under lib/, which the destructive-control
detectors do not scan. The card's entry stays and says where the
request goes out now.
This commit is contained in:
Marc-André Bombeck committed 2026-11-11 20:55:08 +01:00
1 parent af623d12db
commit ee04c5bcf4
1 file changed
+2
@@ -347,6 +347,8 @@ const REGISTRY: DestructiveEntry[] = [
"This is the off half of a notification channel toggle. Re-subscribing from the same control recreates the row, nothing the person authored is stored in it, and the browser permission survives. Gating it would put a dialog on a switch.",
},
],
undetected:
"No detector sees it. The DELETE goes out from `unsubscribeWebPush` in `lib/notifications/web-push-unsubscribe.ts`, which sign-out calls too, and `lib/` is an excluded root. Registered by hand.",
},
// ── Measurements, mood, labs, illness — the undo-and-restore surfaces ────