mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor(server): rename asset stack to stack (#10828)
This commit is contained in:
parent
23b3073687
commit
eb1ba11d60
13 changed files with 68 additions and 70 deletions
12
server/test/repositories/stack.repository.mock.ts
Normal file
12
server/test/repositories/stack.repository.mock.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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(),
|
||||
deleteAll: vitest.fn(),
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue