mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	* refactor: job to domain * chore: regenerate open api * chore: tests * fix: missing breaks * fix: get asset with missing exif data --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			285 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			285 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { IMachineLearningRepository } from '../src';
 | |
| 
 | |
| export const newMachineLearningRepositoryMock = (): jest.Mocked<IMachineLearningRepository> => {
 | |
|   return {
 | |
|     classifyImage: jest.fn(),
 | |
|     detectObjects: jest.fn(),
 | |
|     encodeImage: jest.fn(),
 | |
|     encodeText: jest.fn(),
 | |
|   };
 | |
| };
 |