refactor(ui): drop the explanatory comment from the badge variant test

This commit is contained in:
Yuneng Jiang 2026-08-14 16:40:16 -07:00
parent f9f016dc1d
commit 94e943144e
No known key found for this signature in database

View file

@ -374,11 +374,6 @@ describe("MCPServerPermissions", () => {
});
it("should use the neutral badge variant unless MCP access is blocked", async () => {
/**
* The header badge sits next to the Vector Stores and Agents badges, which both render
* variant="secondary". "default" renders solid bg-primary (black), so it only belongs on
* the blocked state, which uses "destructive".
*/
vi.mocked(networking.fetchMCPServers).mockResolvedValue([]);
const { rerender } = render(