test(guards): let the deprecation registry name the route it retires

This commit is contained in:
Marc-André Bombeck committed 2026-10-20 14:13:44 +02:00
1 parent d78bcf1937
commit 534523c462
1 file changed
+5 -1
@@ -56,7 +56,11 @@ const CLIENT_FILES = NON_TEST_FILES.filter((rel) => !rel.startsWith("lib/"));
const FEATURE_FLAG_SWEEP = NON_TEST_FILES.filter(
(rel) =>
!rel.startsWith("lib/feature-flags/") && !rel.startsWith("lib/openapi/"),
!rel.startsWith("lib/feature-flags/") &&
!rel.startsWith("lib/openapi/") &&
// The deprecation registry names the route to date its retirement; it
// reads nothing from it.
rel !== "lib/http/deprecation.ts",
);
const read = (rel: string) =>