mirror of
				https://github.com/actions/cache.git
				synced 2025-10-23 08:56:26 +08:00 
			
		
		
		
	Fixed review comments and tests
This commit is contained in:
		| @@ -94,9 +94,7 @@ test("save with no primary key in state outputs warning", async () => { | ||||
|     await run(new StateProvider()); | ||||
|  | ||||
|     expect(saveCacheMock).toHaveBeenCalledTimes(0); | ||||
|     expect(logWarningMock).toHaveBeenCalledWith( | ||||
|         `Error retrieving key from state.` | ||||
|     ); | ||||
|     expect(logWarningMock).toHaveBeenCalledWith(`Key is not specified.`); | ||||
|     expect(logWarningMock).toHaveBeenCalledTimes(1); | ||||
|     expect(failedMock).toHaveBeenCalledTimes(0); | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user