mirror of
				https://github.com/pagefaultgames/pokerogue.git
				synced 2025-10-31 08:25:58 +01:00 
			
		
		
		
	* move test folder * Update vitest files * rename test/utils to test/testUtils * Remove stray utils/gameManager Got put back from a rebase
		
			
				
	
	
		
			18 lines
		
	
	
		
			356 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			356 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| class FontFaceMock {
 | |
|   family: string;
 | |
|   source: string;
 | |
|   descriptors: any;
 | |
| 
 | |
|   constructor(family: string, source: string, descriptors?: any) {
 | |
|     this.family = family;
 | |
|     this.source = source;
 | |
|     this.descriptors = descriptors;
 | |
|   }
 | |
| 
 | |
|   load(): Promise<FontFaceMock> {
 | |
|     return Promise.resolve(this);
 | |
|   }
 | |
| }
 | |
| 
 | |
| globalThis.FontFace = FontFaceMock as any;
 |