Add unit tests for actionUtils

This commit is contained in:
Josh Gross 2019-11-13 15:45:39 -05:00
parent bb828da54c
commit 8041787e97
4 changed files with 233 additions and 2 deletions

View file

@ -299,7 +299,7 @@ test("restore with a pull request event and cache found", async () => {
const cacheEntry: ArtifactCacheEntry = {
cacheKey: key,
scope: "refs/heads/master",
archiveLocation: "https://www.example.com/download"
archiveLocation: "www.actionscache.test/download"
};
const getCacheMock = jest.spyOn(cacheHttpClient, "getCacheEntry");
getCacheMock.mockImplementation(() => {