| 
				
			 | 
			
			
				@@ -1,23 +1,23 @@ 
			 | 
		
	
		
			
			| 
				1
			 | 
			
				1
			 | 
			
			
				 const detox = require('detox'); 
			 | 
		
	
		
			
			| 
				2
			 | 
			
				2
			 | 
			
			
				 const config = require('../package.json').detox; 
			 | 
		
	
		
			
			| 
				3
			 | 
			
				3
			 | 
			
			
				 const exec = require('shell-utils').exec; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				4
			 | 
			
			
				+const adapter = require('detox/runners/jest/adapter'); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				5
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				4
			 | 
			
				6
			 | 
			
			
				 jest.setTimeout(300000); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				7
			 | 
			
			
				+jasmine.getEnv().addReporter(adapter); // don't forget this line 
			 | 
		
	
		
			
			| 
				5
			 | 
			
				8
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				6
			 | 
			
				9
			 | 
			
			
				 beforeAll(async () => { 
			 | 
		
	
		
			
			| 
				7
			 | 
			
				
			 | 
			
			
				-  await detox.init(config, { launchApp: false }); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				10
			 | 
			
			
				+  await detox.init(config, {launchApp: false}); 
			 | 
		
	
		
			
			| 
				8
			 | 
			
				11
			 | 
			
			
				   disableAndroidEmulatorAnimations(); 
			 | 
		
	
		
			
			| 
				9
			 | 
			
				12
			 | 
			
			
				 }); 
			 | 
		
	
		
			
			| 
				10
			 | 
			
				13
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				11
			 | 
			
				14
			 | 
			
			
				 afterAll(async () => { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				15
			 | 
			
			
				+  await adapter.afterAll(); 
			 | 
		
	
		
			
			| 
				12
			 | 
			
				16
			 | 
			
			
				   await detox.cleanup(); 
			 | 
		
	
		
			
			| 
				13
			 | 
			
				17
			 | 
			
			
				 }); 
			 | 
		
	
		
			
			| 
				14
			 | 
			
				18
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				15
			 | 
			
				
			 | 
			
			
				-beforeEach(async function() { 
			 | 
		
	
		
			
			| 
				16
			 | 
			
				
			 | 
			
			
				-    await detox.beforeEach(jasmine.testPath); 
			 | 
		
	
		
			
			| 
				17
			 | 
			
				
			 | 
			
			
				-}); 
			 | 
		
	
		
			
			| 
				18
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				19
			 | 
			
				
			 | 
			
			
				-afterEach(async function() { 
			 | 
		
	
		
			
			| 
				20
			 | 
			
				
			 | 
			
			
				-    await detox.afterEach(jasmine.testPath); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				19
			 | 
			
			
				+beforeEach(async () => { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				20
			 | 
			
			
				+  await adapter.beforeEach(); 
			 | 
		
	
		
			
			| 
				21
			 | 
			
				21
			 | 
			
			
				 }); 
			 | 
		
	
		
			
			| 
				22
			 | 
			
				22
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				23
			 | 
			
				23
			 | 
			
			
				 function disableAndroidEmulatorAnimations() { 
			 |