mirror of https://github.com/docker/docs.git
				
				
				
			fixing unit test
This commit is contained in:
		
							parent
							
								
									d58b6779db
								
							
						
					
					
						commit
						5f87b07c2b
					
				| 
						 | 
				
			
			@ -40,7 +40,7 @@ describe('SetupStore', function () {
 | 
			
		|||
    pit('installs virtualbox if it is not installed', function () {
 | 
			
		||||
      virtualBox.installed.mockReturnValue(false);
 | 
			
		||||
      util.exec.mockReturnValue(Promise.resolve());
 | 
			
		||||
      return setupStore.steps().install.run().then(() => {
 | 
			
		||||
      return setupStore.steps().install.run(() => {}).then(() => {
 | 
			
		||||
        expect(virtualBox.killall).toBeCalled();
 | 
			
		||||
        expect(setupUtil.installVirtualBoxCmd).toBeCalled();
 | 
			
		||||
      });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue