- update the transform.test.ts

This commit is contained in:
Mike Penz
2023-05-30 15:06:17 +00:00
committed by GitHub
parent 8cde0090d4
commit bb7c58fa98
+12 -12
View File
@@ -39,7 +39,7 @@ mergedPullRequests.push(
mergeCommitSha: 'sha1',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>(),
labels: [],
milestone: '',
body: 'no magic body1 for this matter',
assignees: [],
@@ -57,7 +57,7 @@ mergedPullRequests.push(
mergeCommitSha: 'sha1',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>(),
labels: [],
milestone: '',
body: 'no magic body2 for this matter',
assignees: [],
@@ -75,7 +75,7 @@ mergedPullRequests.push(
mergeCommitSha: 'sha1',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>(),
labels: [],
milestone: '',
body: 'no magic body3 for this matter',
assignees: [],
@@ -93,7 +93,7 @@ mergedPullRequests.push(
mergeCommitSha: 'sha1',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>(),
labels: [],
milestone: '',
body: 'no magic body4 for this matter',
assignees: [],
@@ -113,7 +113,7 @@ const pullRequestWithLabelInBody: PullRequestInfo = {
mergeCommitSha: 'sha1',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>(),
labels: [],
milestone: '',
body: '[Issue][Feature][AB-1234321] - no magic body for this matter',
assignees: [],
@@ -132,7 +132,7 @@ const openPullRequest: PullRequestInfo = {
mergeCommitSha: 'sha1',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>(),
labels: [],
milestone: '',
body: 'Some fancy body message',
assignees: [],
@@ -246,7 +246,7 @@ pullRequestsWithLabels.push(
mergeCommitSha: 'sha1-1',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>().add('feature'),
labels: ['feature'],
milestone: '',
body: 'no magic body for this matter',
assignees: [],
@@ -264,7 +264,7 @@ pullRequestsWithLabels.push(
mergeCommitSha: 'sha1-2',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>().add('issue').add('fix'),
labels: ['issue', 'fix'],
milestone: '',
body: 'no magic body for this matter',
assignees: [],
@@ -282,7 +282,7 @@ pullRequestsWithLabels.push(
mergeCommitSha: 'sha1-3',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>().add('issue').add('feature').add('fix'),
labels: ['issue', 'feature', 'fix'],
milestone: '',
body: 'no magic body for this matter',
assignees: [],
@@ -300,7 +300,7 @@ pullRequestsWithLabels.push(
mergeCommitSha: 'sha1-4',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>().add(''),
labels: [''],
milestone: '',
body: 'no magic body for this matter',
assignees: [],
@@ -322,7 +322,7 @@ openPullRequestsWithLabels.push(
mergeCommitSha: 'sha1',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>().add('feature'),
labels: ['feature'],
milestone: '',
body: 'Some fancy body message',
assignees: [],
@@ -340,7 +340,7 @@ openPullRequestsWithLabels.push(
mergeCommitSha: 'sha1',
author: 'Mike',
repoName: 'test-repo',
labels: new Set<string>().add('feature'),
labels: [],
milestone: '',
body: 'Some fancy body message',
assignees: [],