import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest"; import appCss from "@/styles/app.css?raw"; import chatCss from "@/styles/pages/chat.css?raw"; import { cn } from "@/lib/utils"; /** * The CSS half of the blink contract. * * `session-dot.test.ts` pins *which* dots ask to blink (`DotView.blink`); * this file pins that the stylesheet honours exactly that request and nothing * else. The bug it guards: the animation used to be keyed on the colour class * *and* on the component wrapper — * * html[data-pi-blink-fast="dim"] .tree-row .dot--ok { opacity: .35; } * .dot--busy { animation: … } /* global, unacknowledgeable *\/ * * — so green blinked only in the session list, busy/err blazed everywhere, and * a dot could not opt out. The fix keeps exactly two dim rules, keyed on the * blink class alone. * * jsdom 30 runs a real specificity/attribute-selector cascade for * `getComputedStyle` against injected `