linting, fix expected response

This commit is contained in:
mertalev
2025-05-05 10:03:20 -04:00
parent 3ace02b3e7
commit 21bbf2f5e2
2 changed files with 32 additions and 39 deletions

View File

@@ -149,24 +149,21 @@ describe('/timeline', () => {
expect(status).toBe(200);
expect(body).toEqual({
bucketAssets: {
city: [],
country: [],
duration: [],
id: [],
isArchived: [],
isFavorite: [],
isImage: [],
isTrashed: [],
livePhotoVideoId: [],
localDateTime: [],
ownerId: [],
projectionType: [],
ratio: [],
status: [],
thumbhash: [],
},
hasNextPage: false,
city: [],
country: [],
duration: [],
id: [],
isArchived: [],
isFavorite: [],
isImage: [],
isTrashed: [],
livePhotoVideoId: [],
localDateTime: [],
ownerId: [],
projectionType: [],
ratio: [],
status: [],
thumbhash: [],
});
});
@@ -189,25 +186,21 @@ describe('/timeline', () => {
expect(status).toBe(200);
expect(body).toEqual({
bucketAssets: {
city: [],
country: [],
duration: [],
id: [],
isArchived: [],
isFavorite: [],
isImage: [],
isTrashed: [],
isVideo: [],
livePhotoVideoId: [],
localDateTime: [],
ownerId: [],
projectionType: [],
ratio: [],
status: [],
thumbhash: [],
},
hasNextPage: false,
city: [],
country: [],
duration: [],
id: [],
isArchived: [],
isFavorite: [],
isImage: [],
isTrashed: [],
livePhotoVideoId: [],
localDateTime: [],
ownerId: [],
projectionType: [],
ratio: [],
status: [],
thumbhash: [],
});
});
});