This commit is contained in:
Josh Gross 2019-11-13 10:27:25 -05:00
parent 7c937ff3b3
commit 38a34c1c26
3 changed files with 9 additions and 9 deletions

View file

@ -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";