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:
@@ -162,7 +162,7 @@ describe("GitHubBadge", () => {
|
||||
const badge = screen.getByRole("link", { name: "#42" });
|
||||
const styles = getComputedStyle(badge);
|
||||
|
||||
expect(styles.fontSize).toBe("11px");
|
||||
expect(styles.fontSize).toBe("0.6875rem");
|
||||
const resolvedGap = styles.gap.startsWith("var(")
|
||||
? getComputedStyle(document.documentElement).getPropertyValue("--space-xs").trim()
|
||||
: styles.gap;
|
||||
|
||||
Reference in New Issue
Block a user