mirror of
https://github.com/immich-app/immich.git
synced 2025-07-07 10:14:08 -04:00
test
This commit is contained in:
parent
bc5d4b45a6
commit
15d5460afb
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user