Updated @actions/* and @octokit/* dependencies (#477)

This commit is contained in:
Mateusz Burzyński
2025-05-11 11:01:10 +02:00
committed by GitHub
parent b4d99d774e
commit 9d933dcd11
5 changed files with 125 additions and 121 deletions
+3 -13
View File
@@ -16,19 +16,9 @@ jest.mock("@actions/github", () => ({
ref: "refs/heads/some-branch",
sha: "xeac7",
},
}));
jest.mock("@actions/github/lib/utils", () => ({
GitHub: {
plugin: () => {
// function necessary to be used as constructor
return function () {
return {
rest: mockedGithubMethods,
};
};
},
},
getOctokitOptions: jest.fn(),
getOctokit: () => ({
rest: mockedGithubMethods,
}),
}));
jest.mock("./git");
jest.mock("@changesets/ghcommit/git");