style(web): format desktop header control test

Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-10-07 10:59:41 +00:00
parent 5d35ac7598
commit 04d28aa803
No known key found for this signature in database

View File

@ -73,8 +73,8 @@ describe("window chrome", () => {
expect(shell).toContain('className="app-no-drag flex min-w-0 items-center gap-3"'); expect(shell).toContain('className="app-no-drag flex min-w-0 items-center gap-3"');
// Ensure header sidebar toggle controls stay clickable (not part of drag region) // Ensure header sidebar toggle controls stay clickable (not part of drag region)
expect( expect(
toggles.match(/app-no-drag rk-touch-target .* size-control-lg .* place-items-center/g)?.length ?? toggles.match(/app-no-drag rk-touch-target .* size-control-lg .* place-items-center/g)
0, ?.length ?? 0,
).toBeGreaterThanOrEqual(1); ).toBeGreaterThanOrEqual(1);
}); });