fix(housekeeping): address task 14 review round 1

This commit is contained in:
Simo committed 2026-08-30 10:53:50 +02:00
1 parent fd68819d9b
commit d09eaa33d6
23 files changed
+2503 -488

No files matched your search

+2 -2
View File
@@ -125,7 +125,7 @@ describe("admin operations route contract", () => {
expect(source).not.toMatch(/await requireStaffRateLimited\(\)/);
});
it("has no requireStaff left in admin action modules", () => {
it("keeps requireStaff only for the approved legacy logo security floor", () => {
const dir = "src/actions";
const offenders: string[] = [];
for (const name of readdirSync(dir)) {
@@ -135,7 +135,7 @@ describe("admin operations route contract", () => {
offenders.push(name);
}
}
expect(offenders).toEqual([]);
expect(offenders).toEqual(["save-logo.ts"]);
});
it("caches analytics full-scans via redisCache", () => {