mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-05-20 06:44:44 +00:00
Fix test
This commit is contained in:
parent
0748517b1b
commit
589948e5a6
6 changed files with 84 additions and 28 deletions
|
@ -82,7 +82,9 @@ test("restore with no cache found", async () => {
|
|||
{
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
false,
|
||||
undefined,
|
||||
""
|
||||
);
|
||||
|
||||
expect(outputMock).toHaveBeenCalledWith("cache-primary-key", key);
|
||||
|
@ -124,7 +126,9 @@ test("restore with restore keys and no cache found", async () => {
|
|||
{
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
false,
|
||||
undefined,
|
||||
""
|
||||
);
|
||||
|
||||
expect(outputMock).toHaveBeenCalledWith("cache-primary-key", key);
|
||||
|
@ -163,7 +167,9 @@ test("restore with cache found for key", async () => {
|
|||
{
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
false,
|
||||
undefined,
|
||||
""
|
||||
);
|
||||
|
||||
expect(outputMock).toHaveBeenCalledWith("cache-primary-key", key);
|
||||
|
@ -206,7 +212,9 @@ test("restore with cache found for restore key", async () => {
|
|||
{
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
false,
|
||||
undefined,
|
||||
""
|
||||
);
|
||||
|
||||
expect(outputMock).toHaveBeenCalledWith("cache-primary-key", key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue