mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 10:49:11 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			319 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			319 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { IActivityRepository } from 'src/interfaces/activity.interface';
 | |
| import { Mocked, vitest } from 'vitest';
 | |
| 
 | |
| export const newActivityRepositoryMock = (): Mocked<IActivityRepository> => {
 | |
|   return {
 | |
|     search: vitest.fn(),
 | |
|     create: vitest.fn(),
 | |
|     delete: vitest.fn(),
 | |
|     getStatistics: vitest.fn(),
 | |
|   };
 | |
| };
 |