mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	fix unit tests using mock-resolver
This commit is contained in:
		
							parent
							
								
									71be39ecc8
								
							
						
					
					
						commit
						dbaeb7f2ac
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -23,6 +23,7 @@ import type {
 | 
			
		|||
	PollsRepository,
 | 
			
		||||
	UsersRepository,
 | 
			
		||||
} from '@/models/_.js';
 | 
			
		||||
import { ApLogService } from '@/core/ApLogService.js';
 | 
			
		||||
 | 
			
		||||
type MockResponse = {
 | 
			
		||||
	type: string;
 | 
			
		||||
| 
						 | 
				
			
			@ -49,6 +50,7 @@ export class MockResolver extends Resolver {
 | 
			
		|||
			{} as ApRendererService,
 | 
			
		||||
			{} as ApDbResolverService,
 | 
			
		||||
			loggerService,
 | 
			
		||||
			{} as ApLogService,
 | 
			
		||||
		);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue