mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 03:04:01 +00:00 
			
		
		
		
	Fix test
This commit is contained in:
		
							parent
							
								
									b917253c33
								
							
						
					
					
						commit
						4584a7f935
					
				@ -27,6 +27,13 @@ beforeAll(() => {
 | 
				
			|||||||
            return actualUtils.getInputAsArray(name, options);
 | 
					            return actualUtils.getInputAsArray(name, options);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    jest.spyOn(actionUtils, "getInputAsBoolean").mockImplementation(
 | 
				
			||||||
 | 
					        (name, options) => {
 | 
				
			||||||
 | 
					            const actualUtils = jest.requireActual("../src/utils/actionUtils");
 | 
				
			||||||
 | 
					            return actualUtils.getInputAsBoolean(name, options);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
beforeEach(() => {
 | 
					beforeEach(() => {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user