mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:39:37 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			278 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			278 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { IKeyRepository } from '../src';
 | 
						|
 | 
						|
export const newKeyRepositoryMock = (): jest.Mocked<IKeyRepository> => {
 | 
						|
  return {
 | 
						|
    create: jest.fn(),
 | 
						|
    update: jest.fn(),
 | 
						|
    delete: jest.fn(),
 | 
						|
    getKey: jest.fn(),
 | 
						|
    getById: jest.fn(),
 | 
						|
    getByUserId: jest.fn(),
 | 
						|
  };
 | 
						|
};
 |