|  | @@ -9,6 +9,7 @@ describe('NativeCommandsSender', () => {
 | 
	
		
			
			| 9 | 9 |        setRoot: jest.fn(),
 | 
	
		
			
			| 10 | 10 |        push: jest.fn(),
 | 
	
		
			
			| 11 | 11 |        pop: jest.fn(),
 | 
	
		
			
			|  | 12 | +      popTo: jest.fn(),
 | 
	
		
			
			| 12 | 13 |        showModal: jest.fn(),
 | 
	
		
			
			| 13 | 14 |        dismissModal: jest.fn(),
 | 
	
		
			
			| 14 | 15 |        dismissAllModals: jest.fn()
 | 
	
	
		
			
			|  | @@ -40,6 +41,12 @@ describe('NativeCommandsSender', () => {
 | 
	
		
			
			| 40 | 41 |      expect(result).toBeDefined();
 | 
	
		
			
			| 41 | 42 |    });
 | 
	
		
			
			| 42 | 43 |  
 | 
	
		
			
			|  | 44 | +  it('popTo sends to native with containerId and targetId', async () => {
 | 
	
		
			
			|  | 45 | +    const result = await uut.popTo('theContainerId', 'targetId');
 | 
	
		
			
			|  | 46 | +    expect(mockNativeModule.popTo).toHaveBeenCalledTimes(1);
 | 
	
		
			
			|  | 47 | +    expect(result).toBeDefined();
 | 
	
		
			
			|  | 48 | +  });
 | 
	
		
			
			|  | 49 | +
 | 
	
		
			
			| 43 | 50 |    it('showModal sends to native', async () => {
 | 
	
		
			
			| 44 | 51 |      const result = await uut.showModal({});
 | 
	
		
			
			| 45 | 52 |      expect(mockNativeModule.showModal).toHaveBeenCalledTimes(1);
 |