feat: add plural support #51
Annotations
11 errors
|
Unit tests:
lib/modules/platform/gitlab/index.spec.ts#L1763
expect(received).toMatchSnapshot()
Snapshot name: `modules/platform/gitlab/index createPr(branchName, title, body) returns the PR 1`
- Snapshot - 0
+ Received + 1
@@ -2,6 +2,7 @@
"id": 1,
"iid": 12345,
"number": 12345,
"sourceBranch": "some-branch",
"title": "some title",
+ "url": undefined,
}
at Object.<anonymous> (lib/modules/platform/gitlab/index.spec.ts:1763:18)
|
Unit tests:
lib/modules/platform/gitlab/index.spec.ts#L1783
expect(received).toMatchSnapshot()
Snapshot name: `modules/platform/gitlab/index createPr(branchName, title, body) uses default branch 1`
- Snapshot - 0
+ Received + 1
@@ -2,6 +2,7 @@
"id": 1,
"iid": 12345,
"number": 12345,
"sourceBranch": "some-branch",
"title": "some title",
+ "url": undefined,
}
at Object.<anonymous> (lib/modules/platform/gitlab/index.spec.ts:1783:18)
|
Unit tests:
lib/modules/platform/gitlab/index.spec.ts#L1803
expect(received).toMatchSnapshot()
Snapshot name: `modules/platform/gitlab/index createPr(branchName, title, body) supports draftPR on < 13.2 1`
- Snapshot - 0
+ Received + 1
@@ -3,6 +3,7 @@
"iid": 12345,
"isDraft": true,
"number": 12345,
"sourceBranch": "some-branch",
"title": "some title",
+ "url": undefined,
}
at Object.<anonymous> (lib/modules/platform/gitlab/index.spec.ts:1803:18)
|
Unit tests:
lib/modules/platform/gitlab/index.spec.ts#L1823
expect(received).toMatchSnapshot()
Snapshot name: `modules/platform/gitlab/index createPr(branchName, title, body) supports draftPR on >= 13.2 1`
- Snapshot - 0
+ Received + 1
@@ -3,6 +3,7 @@
"iid": 12345,
"isDraft": true,
"number": 12345,
"sourceBranch": "some-branch",
"title": "some title",
+ "url": undefined,
}
at Object.<anonymous> (lib/modules/platform/gitlab/index.spec.ts:1823:18)
|
Unit tests:
lib/modules/platform/gitlab/index.spec.ts#L1939
expect(received).toMatchSnapshot()
Snapshot name: `modules/platform/gitlab/index createPr(branchName, title, body) raises with squash enabled when repository squash option is default_on 1`
- Snapshot - 0
+ Received + 1
@@ -2,6 +2,7 @@
"id": 1,
"iid": 12345,
"number": 12345,
"sourceBranch": "some-branch",
"title": "some title",
+ "url": undefined,
}
at Object.<anonymous> (lib/modules/platform/gitlab/index.spec.ts:1939:18)
|
Unit tests:
lib/modules/platform/gitlab/index.spec.ts#L1971
expect(received).toMatchSnapshot()
Snapshot name: `modules/platform/gitlab/index createPr(branchName, title, body) raises with squash enabled when repository squash option is always 1`
- Snapshot - 0
+ Received + 1
@@ -2,6 +2,7 @@
"id": 1,
"iid": 12345,
"number": 12345,
"sourceBranch": "some-branch",
"title": "some title",
+ "url": undefined,
}
at Object.<anonymous> (lib/modules/platform/gitlab/index.spec.ts:1971:18)
|
Unit tests:
lib/modules/platform/gitlab/index.spec.ts#L2014
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `modules/platform/gitlab/index createPr(branchName, title, body) adds approval rule to ignore all approvals 1`
- Snapshot - 0
+ Received + 1
@@ -2,6 +2,7 @@
"id": 1,
"iid": 12345,
"number": 12345,
"sourceBranch": "some-branch",
"title": "some title",
+ "url": undefined,
}
at Object.<anonymous> (lib/modules/platform/gitlab/index.spec.ts:2014:9)
|
Unit tests:
lib/modules/platform/gitlab/index.spec.ts#L2073
expect(received).toStrictEqual(expected) // deep equality
- Expected - 0
+ Received + 1
@@ -2,6 +2,7 @@
"id": 1,
"iid": 12345,
"number": 12345,
"sourceBranch": "some-branch",
"title": "some title",
+ "url": undefined,
}
at Object.<anonymous> (lib/modules/platform/gitlab/index.spec.ts:2073:9)
|
Unit tests:
lib/modules/platform/gitlab/index.spec.ts#L2141
expect(received).toStrictEqual(expected) // deep equality
- Expected - 0
+ Received + 1
@@ -2,6 +2,7 @@
"id": 1,
"iid": 12345,
"number": 12345,
"sourceBranch": "some-branch",
"title": "some title",
+ "url": undefined,
}
at Object.<anonymous> (lib/modules/platform/gitlab/index.spec.ts:2141:9)
|
Unit tests:
lib/modules/platform/gitlab/index.spec.ts#L2190
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `modules/platform/gitlab/index createPr(branchName, title, body) does not try to create already existing approval rule 1`
- Snapshot - 0
+ Received + 1
@@ -2,6 +2,7 @@
"id": 1,
"iid": 12345,
"number": 12345,
"sourceBranch": "some-branch",
"title": "some title",
+ "url": undefined,
}
at Object.<anonymous> (lib/modules/platform/gitlab/index.spec.ts:2190:9)
|
The logs for this run have expired and are no longer available.
Loading