Upgrade @actions/* packages (#40)

This commit is contained in:
Mateusz Burzyński
2020-07-06 20:33:19 +10:00
committed by GitHub
parent d846247242
commit 2c7afd615c
5 changed files with 202 additions and 320 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ jest.mock("@actions/github", () => ({
ref: "refs/heads/some-branch",
sha: "xeac7",
},
GitHub: jest.fn(),
getOctokit: jest.fn(),
}));
jest.mock("./gitUtils");
@@ -30,7 +30,7 @@ let mockedGithubMethods = {
createRelease: jest.fn(),
},
};
(github.GitHub as any).mockImplementation(() => mockedGithubMethods);
(github.getOctokit as any).mockImplementation(() => mockedGithubMethods);
let f = fixturez(__dirname);