test(FN-4481): fix verification regressions in badge and migration tests

Fusion-Task-Id: FN-4481
Fusion-Task-Lineage: 8b52379c-60b7-4cae-b655-7ed780c5c523
This commit is contained in:
Fusion
2026-05-14 09:12:53 -07:00
committed by gsxdsm
parent c5f2dbb9a3
commit a7016ba897

View File

@@ -162,7 +162,7 @@ describe("GitHubBadge", () => {
const badge = screen.getByRole("link", { name: "#42" }); const badge = screen.getByRole("link", { name: "#42" });
const styles = getComputedStyle(badge); const styles = getComputedStyle(badge);
expect(styles.fontSize).toBe("11px"); expect(styles.fontSize).toBe("0.6875rem");
const resolvedGap = styles.gap.startsWith("var(") const resolvedGap = styles.gap.startsWith("var(")
? getComputedStyle(document.documentElement).getPropertyValue("--space-xs").trim() ? getComputedStyle(document.documentElement).getPropertyValue("--space-xs").trim()
: styles.gap; : styles.gap;