mirror of
https://github.com/actions/cache.git
synced 2026-06-08 16:50:28 +08:00
Update non-null state provider to also output primary/matched keys
This commit is contained in:
@@ -54,7 +54,7 @@ test("StateProvider saves states", async () => {
|
||||
expect(cacheStateValue).toBe(cacheMatchedKey);
|
||||
expect(getStateMock).toHaveBeenCalledTimes(2);
|
||||
expect(saveStateMock).toHaveBeenCalledTimes(2);
|
||||
expect(setOutputMock).toHaveBeenCalledTimes(0);
|
||||
expect(setOutputMock).toHaveBeenCalledTimes(2);
|
||||
});
|
||||
|
||||
test("NullStateProvider saves outputs", async () => {
|
||||
|
||||
Reference in New Issue
Block a user