feat(issue-54): backport pr commits without squash

Fix https://github.com/kiegroup/git-backporting/issues/54
This commit is contained in:
Andrea Lamparelli 2023-07-10 16:57:38 +02:00
parent a737aa7c4c
commit a2f3ff013c
29 changed files with 1004 additions and 161 deletions

View file

@ -29,11 +29,7 @@ describe("github service", () => {
GitClientFactory.reset();
gitClient = GitClientFactory.getOrCreate(GitClientType.GITLAB, "whatever", "apiUrl") as GitLabClient;
});
afterEach(() => {
jest.clearAllMocks();
});
test("get merged pull request", async () => {
const res: GitPullRequest = await gitClient.getPullRequest("superuser", "backporting-example", 1);