mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
11 lines
301 B
TypeScript
11 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(),
|
|
};
|
|
};
|