Logo
Explore Help
Register Sign In
immich-app/immich
1
0
Fork 0
You've already forked immich
mirror of https://github.com/immich-app/immich.git synced 2025-12-23 09:15:05 +03:00
Code Issues Packages Projects Releases 18 Wiki Activity
Files
44ed1f091957f061c837767cc1d5dafc36d592e5
immich/server/test/repositories/shared-link.repository.mock.ts

13 lines
323 B
TypeScript
Raw Normal View History

chore(server): move domain interfaces (#8124) move domain interfaces
2024-03-20 21:42:58 +01:00
import { ISharedLinkRepository } from 'src/interfaces/shared-link.repository';
refactor(server): shared links (#1385) * refactor(server): shared links * chore: tests * fix: bugs and tests * fix: missed one expired at * fix: standardize file upload checks * test: lower flutter version Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-01-25 11:35:28 -05:00
export const newSharedLinkRepositoryMock = (): jest.Mocked<ISharedLinkRepository> => {
return {
getAll: jest.fn(),
get: jest.fn(),
getByKey: jest.fn(),
create: jest.fn(),
remove: jest.fn(),
refactor(server): shared links (#2632) * refactor: rename share => shared-link * refactor: shared link crud methods * chore: open api
2023-06-01 22:09:57 -04:00
update: jest.fn(),
refactor(server): shared links (#1385) * refactor(server): shared links * chore: tests * fix: bugs and tests * fix: missed one expired at * fix: standardize file upload checks * test: lower flutter version Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-01-25 11:35:28 -05:00
};
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 367ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API