mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-05-10 03:09:55 +02:00
Code review
This commit is contained in:
parent
d57039cf5c
commit
84097c0606
7 changed files with 23 additions and 7 deletions
|
@ -396,6 +396,8 @@ test("restore with lookup-only set", async () => {
|
|||
expect(setCacheHitOutputMock).toHaveBeenCalledTimes(1);
|
||||
expect(setCacheHitOutputMock).toHaveBeenCalledWith("cache-hit", "true");
|
||||
|
||||
expect(infoMock).toHaveBeenCalledWith(`Cache restored from key: ${key}`);
|
||||
expect(infoMock).toHaveBeenCalledWith(
|
||||
`Cache would have been restored from key: ${key}`
|
||||
);
|
||||
expect(failedMock).toHaveBeenCalledTimes(0);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue