Skip to content

Commit fa7d2ea

Browse files
committed
tests(info-row-divider): restore static layout style assertions (height and margins) while keeping token-dependent color check
1 parent 1af8240 commit fa7d2ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/components/Views/confirmations/components/UI/info-row-divider/info-row-divider.test.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,10 @@ describe('InfoRowDivider', () => {
1515
expect(result?.props?.style?.backgroundColor).toBe(
1616
mockTheme.colors.border.muted,
1717
);
18+
// Verify static layout properties remain unchanged
19+
expect(result?.props?.style?.height).toBe(1);
20+
expect(result?.props?.style?.marginLeft).toBe(-8);
21+
expect(result?.props?.style?.marginRight).toBe(-8);
22+
expect(result?.props?.style?.marginVertical).toBe(8);
1823
});
1924
});

0 commit comments

Comments
 (0)