WIP! A BB-style forum, on the ATmosphere! We're still working... we'll be back soon when we have something to show off!
node typescript hono htmx atproto

test(web): complete themes card assertions across all admin landing tests

Add missing `href="/admin/themes"` assertions to three tests:
- wildcard (*) permission test: assert themes card IS shown
- manageMembers-only test: assert themes card is NOT shown
- manageMembers + moderatePosts combo test: assert themes card is NOT shown

+3
+3
apps/web/src/routes/__tests__/admin.test.tsx
··· 86 expect(html).toContain('href="/admin/members"'); 87 expect(html).toContain('href="/admin/structure"'); 88 expect(html).toContain('href="/admin/modlog"'); 89 }); 90 91 // ── Single permission → only that card ────────────────────────────────── ··· 101 expect(html).toContain('href="/admin/members"'); 102 expect(html).not.toContain('href="/admin/structure"'); 103 expect(html).not.toContain('href="/admin/modlog"'); 104 }); 105 106 it("shows only Structure card for user with only manageCategories", async () => { ··· 222 expect(html).toContain('href="/admin/members"'); 223 expect(html).not.toContain('href="/admin/structure"'); 224 expect(html).toContain('href="/admin/modlog"'); 225 }); 226 227 // ── Page structure ───────────────────────────────────────────────────────
··· 86 expect(html).toContain('href="/admin/members"'); 87 expect(html).toContain('href="/admin/structure"'); 88 expect(html).toContain('href="/admin/modlog"'); 89 + expect(html).toContain('href="/admin/themes"'); 90 }); 91 92 // ── Single permission → only that card ────────────────────────────────── ··· 102 expect(html).toContain('href="/admin/members"'); 103 expect(html).not.toContain('href="/admin/structure"'); 104 expect(html).not.toContain('href="/admin/modlog"'); 105 + expect(html).not.toContain('href="/admin/themes"'); 106 }); 107 108 it("shows only Structure card for user with only manageCategories", async () => { ··· 224 expect(html).toContain('href="/admin/members"'); 225 expect(html).not.toContain('href="/admin/structure"'); 226 expect(html).toContain('href="/admin/modlog"'); 227 + expect(html).not.toContain('href="/admin/themes"'); 228 }); 229 230 // ── Page structure ───────────────────────────────────────────────────────