diff --git a/app/models/mappers/homepageMapper.test.ts b/app/models/mappers/homepageMapper.test.ts index de881c7..055cf09 100644 --- a/app/models/mappers/homepageMapper.test.ts +++ b/app/models/mappers/homepageMapper.test.ts @@ -8,8 +8,18 @@ describe('toHomepageView', () => { const rawData: Homepage = { id: 1, carousel: [ - { id: 1, directus_files_id: 'file-uuid-1' }, - { id: 2, directus_files_id: 'file-uuid-2' }, + { + id: 1, + directus_files_id: { + id: 'file-uuid-1', + }, + }, + { + id: 2, + directus_files_id: { + id: 'file-uuid-2', + }, + }, ], recommend_products: [ {