1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00
immich/server/test/repositories/stack.repository.mock.ts
2024-07-05 16:16:53 -04:00

12 lines
301 B
TypeScript

import { IStackRepository } from 'src/interfaces/stack.interface';
import { Mocked, vitest } from 'vitest';
export const newStackRepositoryMock = (): Mocked<IStackRepository> => {
return {
create: vitest.fn(),
update: vitest.fn(),
delete: vitest.fn(),
getById: vitest.fn(),
};
};