mirror of
				https://github.com/pagefaultgames/pokerogue.git
				synced 2025-10-31 08:25:58 +01:00 
			
		
		
		
	* Reuse global scene between tests Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com> * Add missing each method to mockContainer * Fix select-modifier-phase test * Sanitize overrides before tests Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com> * Sanitize overrides before tests Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com> * [WIP] fix things * Fix tests not working with --no-isolate * Update npm tests to use no isolate * Update test-shard-template * Update package.json Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --------- Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com> Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			262 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			262 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import MockContainer from "#test/testUtils/mocks/mocksContainer/mockContainer";
 | |
| 
 | |
| export class MockImage extends MockContainer {
 | |
|   private texture;
 | |
| 
 | |
|   constructor(textureManager, x, y, texture) {
 | |
|     super(textureManager, x, y);
 | |
|     this.texture = texture;
 | |
|   }
 | |
| }
 |