Packages and banners from the CMS, host injection, translation files and the contact form #19

Merged
Sluijsens merged 44 commits from feature/asf-packages-cms into master 2026-11-16 14:17:14 +01:00
Showing only changes of commit 915c41b92e - Show all commits
+11
View File
@@ -77,6 +77,17 @@ describe('mapOfferings', () => {
});
});
it('neemt featured over alleen als het true is', () => {
const result = mapOfferings([
card({ slug: 'a', featured: true }),
card({ slug: 'b', featured: 'ja' }),
]);
expect(result?.packages.map((p) => p.featured)).toEqual([
true,
undefined,
]);
});
it('slaat ongeldige kaarten over en behoudt de rest', () => {
const result = mapOfferings([
card({ slug: 'Slecht Id' }),