mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-22 08:43:55 +08:00
Linting
This commit is contained in:
parent
7c937ff3b3
commit
38a34c1c26
3 changed files with 9 additions and 9 deletions
|
@ -302,7 +302,7 @@ test("restore with a pull request event and cache found", async () => {
|
|||
archiveLocation: "https://www.example.com/download"
|
||||
};
|
||||
const getCacheMock = jest.spyOn(cacheHttpClient, "getCacheEntry");
|
||||
getCacheMock.mockImplementation(_ => {
|
||||
getCacheMock.mockImplementation(() => {
|
||||
return Promise.resolve(cacheEntry);
|
||||
});
|
||||
const tempPath = "/foo/bar";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue