1
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2025-07-07 20:42:53 +00:00

Restore original behavior of cache-hit output

This commit is contained in:
Josh Gross 2024-10-08 12:55:55 -04:00
parent 2cdf405574
commit dacbcb8908
No known key found for this signature in database
7 changed files with 15 additions and 9 deletions

View file

@ -86,8 +86,7 @@ test("restore with no cache found", async () => {
);
expect(outputMock).toHaveBeenCalledWith("cache-primary-key", key);
expect(outputMock).toHaveBeenCalledWith("cache-hit", "false");
expect(outputMock).toHaveBeenCalledTimes(2);
expect(outputMock).toHaveBeenCalledTimes(1);
expect(failedMock).toHaveBeenCalledTimes(0);
expect(infoMock).toHaveBeenCalledWith(