Skip to content

Commit d55e56f

Browse files
committed
mock getPhotoObjectTexts in gallery hook tests
1 parent 6411baf commit d55e56f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend-next-migration/src/entities/Gallery/api/useGetDirectusGalleryImages.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jest.mock('../api/galleryCategoriesApi', () => ({
1616
jest.mock('../api/translations', () => ({
1717
getPhotoVersionTranslation: jest.fn(),
1818
getCategoryTranslation: jest.fn(),
19+
getPhotoObjectTexts: jest.fn(() => ({ title: '', author: '', description: '' })),
1920
}));
2021

2122
jest.mock('@/shared/const/envHelper', () => ({

0 commit comments

Comments
 (0)