From 6211e756ca6e4cfb7078ae5d1551459867534822 Mon Sep 17 00:00:00 2001 From: ivan katliarchuk Date: Thu, 6 Oct 2022 19:38:35 +0100 Subject: [PATCH] remove stuff --- source/platforms/GitLab.ts | 2 +- source/platforms/gitlab/_tests/_gitlab_api.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/platforms/GitLab.ts b/source/platforms/GitLab.ts index ba6b96a14..7be24b457 100644 --- a/source/platforms/GitLab.ts +++ b/source/platforms/GitLab.ts @@ -36,7 +36,7 @@ class GitLab implements Platform { const changes = await this.api.getMergeRequestChanges() const commits = await this.api.getMergeRequestCommits() - const mappedCommits: GitCommit[] = commits.map((commit) => { + const mappedCommits: GitCommit[] = commits.map(commit => { return { sha: commit.id, author: { diff --git a/source/platforms/gitlab/_tests/_gitlab_api.test.ts b/source/platforms/gitlab/_tests/_gitlab_api.test.ts index 1e6255156..253df8319 100644 --- a/source/platforms/gitlab/_tests/_gitlab_api.test.ts +++ b/source/platforms/gitlab/_tests/_gitlab_api.test.ts @@ -196,7 +196,7 @@ describe("GitLab API", () => { expect(result.title).toEqual(titleToUpdate) }) - describe("merge request info labels", () => { + describe("mergerequest (add|remove)labels", () => { let nockDone: { nockDone: () => void } afterAll(async () => {