mirror of
https://github.com/actions/cache.git
synced 2025-06-29 04:34:15 +00:00
Update tests to account for changes
This commit is contained in:
parent
b0a3f6e7a6
commit
fa8c252a0b
2 changed files with 14 additions and 7 deletions
|
@ -439,7 +439,8 @@ test("restore with lookup-only set", async () => {
|
|||
|
||||
expect(stateMock).toHaveBeenCalledWith("CACHE_KEY", key);
|
||||
expect(stateMock).toHaveBeenCalledWith("CACHE_RESULT", key);
|
||||
expect(stateMock).toHaveBeenCalledTimes(2);
|
||||
expect(stateMock).toHaveBeenCalledWith("CACHE_PATH", path);
|
||||
expect(stateMock).toHaveBeenCalledTimes(3);
|
||||
|
||||
expect(setCacheHitOutputMock).toHaveBeenCalledTimes(1);
|
||||
expect(setCacheHitOutputMock).toHaveBeenCalledWith("cache-hit", "true");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue