mirror of
				https://gitea.com/actions/cache.git
				synced 2025-10-29 07:47:12 +00:00 
			
		
		
		
	stateinputprovider with pending test cases fix
This commit is contained in:
		| @@ -11,12 +11,8 @@ jest.mock("@actions/cache"); | ||||
| jest.mock("../src/utils/actionUtils"); | ||||
|  | ||||
| beforeAll(() => { | ||||
|     jest.spyOn(core, "getInput").mockImplementation((name, options) => { | ||||
|         return jest.requireActual("@actions/core").getInput(name, options); | ||||
|     }); | ||||
|  | ||||
|     jest.spyOn(core, "setOutput").mockImplementation((key, value) => { | ||||
|         return jest.requireActual("@actions/core").getInput(key, value); | ||||
|     jest.spyOn(core, "getInput").mockImplementation(name => { | ||||
|         return testUtils.getInput(name); | ||||
|     }); | ||||
|  | ||||
|     jest.spyOn(actionUtils, "getInputAsArray").mockImplementation( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sankalp Kotewar
					Sankalp Kotewar