mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-05-19 14:24:45 +00:00
Update non-null state provider to also output primary/matched keys
This commit is contained in:
parent
480d890516
commit
91afe36e0a
4 changed files with 51 additions and 33 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue