This commit is contained in:
Min Idzelis 2025-04-29 13:52:00 +00:00
parent bc5d4b45a6
commit 15d5460afb

View File

@ -40,7 +40,7 @@ describe('getAltText', () => {
'generates correctly formatted alt text when isVideo=$isVideo, city=$city, country=$country, people=$people.length', 'generates correctly formatted alt text when isVideo=$isVideo, city=$city, country=$country, people=$people.length',
({ isVideo, city, country, people, expected }) => { ({ isVideo, city, country, people, expected }) => {
const asset = { const asset = {
text: { city, country, people: (people || [])?.map((p: { name: string }) => p.name) }, description: { city, country, people: (people || [])?.map((p: { name: string }) => p.name) },
localDateTime: '2024-01-01T12:00:00.000Z', localDateTime: '2024-01-01T12:00:00.000Z',
people, people,
isVideo, isVideo,