mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
update alt text tests
This commit is contained in:
parent
1d885c1a20
commit
b20440e4d5
@ -40,9 +40,10 @@ describe('getAltText', () => {
|
||||
'generates correctly formatted alt text when isVideo=$isVideo, city=$city, country=$country, people=$people.length',
|
||||
({ isVideo, city, country, people, expected }) => {
|
||||
const asset = {
|
||||
description: { city, country, people: (people || [])?.map((p: { name: string }) => p.name) },
|
||||
city,
|
||||
country,
|
||||
people: (people || [])?.map((p: { name: string }) => p.name),
|
||||
localDateTime: '2024-01-01T12:00:00.000Z',
|
||||
people,
|
||||
isVideo,
|
||||
isImage: !isVideo,
|
||||
} as unknown as TimelineAsset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user