Test: swipe-row controleert gecentreerde flex-wrap in plaats van sm:grid

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-14 19:42:48 +01:00
co-authored by Claude Sonnet 5.5
parent 1a02824338
commit a9e507b645
@@ -321,7 +321,7 @@ describe('PackagesSection', () => {
await loaded();
const row = screen.getByRole('group', { name: 'Pakketten' });
expect(row).toHaveAttribute('tabindex', '0');
expect(row).toHaveClass('snap-x', 'snap-mandatory', 'overflow-x-auto', 'sm:grid');
expect(row).toHaveClass('snap-x', 'snap-mandatory', 'overflow-x-auto', 'sm:flex-wrap', 'sm:justify-center');
expect(row.children[0]).toHaveClass('w-[85%]', 'snap-center');
});