mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 11:07:10 -05:00 
			
		
		
		
	* feat(server/web): jobs clear button + queue status * adjust design and colors * Adjust some styling * show status next to buttons instead of on top * Update rounded corner for badge --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			327 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			327 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { IJobRepository } from '../src';
 | 
						|
 | 
						|
export const newJobRepositoryMock = (): jest.Mocked<IJobRepository> => {
 | 
						|
  return {
 | 
						|
    empty: jest.fn(),
 | 
						|
    pause: jest.fn(),
 | 
						|
    resume: jest.fn(),
 | 
						|
    queue: jest.fn().mockImplementation(() => Promise.resolve()),
 | 
						|
    getQueueStatus: jest.fn(),
 | 
						|
    getJobCounts: jest.fn(),
 | 
						|
  };
 | 
						|
};
 |