import { describe, expect, it, vi } from "vitest"; import { renderToStaticMarkup } from "react-dom/server"; /** * Phase A5 / B-mobile CRITICAL #2 — `/admin/users` mobile layout. * * The audit at 393 CSS px showed the desktop table (6 cols × N rows) * truncating the role badge ("ADMI", "USE") and pushing the action * column entirely off the right edge — the destructive force-logout * action was unreachable on mobile. * * Fix: render the desktop table only at `≥ md`, and on `< md` paint * a card-list (`