mirror of
				https://github.com/actions/cache.git
				synced 2025-10-23 08:56:26 +08:00 
			
		
		
		
	Fixed breaking test case
This commit is contained in:
		| @@ -61,8 +61,8 @@ test("NullStateProvider saves outputs", async () => { | |||||||
|         }); |         }); | ||||||
|     const cacheMatchedKey = "node-cache"; |     const cacheMatchedKey = "node-cache"; | ||||||
|     const nullStateProvider: IStateProvider = new NullStateProvider(); |     const nullStateProvider: IStateProvider = new NullStateProvider(); | ||||||
|     nullStateProvider.setState("outputKey", "outputValue"); |     nullStateProvider.setState(State.CacheMatchedKey, "outputValue"); | ||||||
|     nullStateProvider.setState(State.CacheMatchedKey, cacheMatchedKey); |     nullStateProvider.setState(State.CachePrimaryKey, cacheMatchedKey); | ||||||
|     nullStateProvider.getState("outputKey"); |     nullStateProvider.getState("outputKey"); | ||||||
|     nullStateProvider.getCacheState(); |     nullStateProvider.getCacheState(); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user