backport 9.6.4 → 9.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/backportRun.d.ts +1 -1
  2. package/dist/backportRun.js +3 -1
  3. package/dist/backportRun.js.map +1 -1
  4. package/dist/entrypoint.api.d.ts +1 -1
  5. package/dist/entrypoint.module.private.test.js +5 -5
  6. package/dist/entrypoint.module.private.test.js.map +1 -1
  7. package/dist/lib/cherrypickAndCreateTargetPullRequest/cherrypickAndCreateTargetPullRequest.js +5 -3
  8. package/dist/lib/cherrypickAndCreateTargetPullRequest/cherrypickAndCreateTargetPullRequest.js.map +1 -1
  9. package/dist/lib/cherrypickAndCreateTargetPullRequest/getBackportBranchName.js +4 -2
  10. package/dist/lib/cherrypickAndCreateTargetPullRequest/getBackportBranchName.js.map +1 -1
  11. package/dist/lib/cherrypickAndCreateTargetPullRequest/getBackportBranchName.test.js +64 -17
  12. package/dist/lib/cherrypickAndCreateTargetPullRequest/getBackportBranchName.test.js.map +1 -1
  13. package/dist/lib/github/v3/getPullRequest/createPullRequest.d.ts +19 -0
  14. package/dist/lib/github/v3/getPullRequest/createPullRequest.js +68 -0
  15. package/dist/lib/github/v3/getPullRequest/createPullRequest.js.map +1 -0
  16. package/dist/lib/github/v3/getPullRequest/getPullRequestBody.d.ts +7 -0
  17. package/dist/lib/github/v3/getPullRequest/getPullRequestBody.js +61 -0
  18. package/dist/lib/github/v3/getPullRequest/getPullRequestBody.js.map +1 -0
  19. package/dist/lib/github/v3/getPullRequest/getPullRequestBody.test.js +421 -0
  20. package/dist/lib/github/v3/getPullRequest/getPullRequestBody.test.js.map +1 -0
  21. package/dist/lib/github/v3/getPullRequest/getTitle.d.ts +7 -0
  22. package/dist/lib/github/v3/getPullRequest/getTitle.js +34 -0
  23. package/dist/lib/github/v3/getPullRequest/getTitle.js.map +1 -0
  24. package/dist/lib/github/v3/getPullRequest/getTitle.test.d.ts +1 -0
  25. package/dist/lib/github/v3/getPullRequest/getTitle.test.js +111 -0
  26. package/dist/lib/github/v3/getPullRequest/getTitle.test.js.map +1 -0
  27. package/dist/lib/github/v4/enablePullRequestAutoMerge.mutation.test.js +1 -1
  28. package/dist/lib/github/v4/enablePullRequestAutoMerge.mutation.test.js.map +1 -1
  29. package/dist/lib/github/v4/fetchCommits/allFetchers.private.test.js +1 -1
  30. package/dist/lib/github/v4/fetchCommits/allFetchers.private.test.js.map +1 -1
  31. package/dist/lib/github/v4/fetchCommits/fetchCommitBySha.private.test.js +1 -1
  32. package/dist/lib/github/v4/fetchCommits/fetchCommitBySha.private.test.js.map +1 -1
  33. package/dist/lib/github/v4/fetchExistingPullRequest.d.ts +1 -1
  34. package/dist/lib/registerHandlebarsHelpers.d.ts +1 -0
  35. package/dist/lib/registerHandlebarsHelpers.js +14 -0
  36. package/dist/lib/registerHandlebarsHelpers.js.map +1 -0
  37. package/dist/{runSequentially.d.ts → lib/runSequentially.d.ts} +3 -3
  38. package/dist/{runSequentially.js → lib/runSequentially.js} +5 -5
  39. package/dist/lib/runSequentially.js.map +1 -0
  40. package/dist/test/e2e/cli/different-merge-strategies.private.test.js +3 -13
  41. package/dist/test/e2e/cli/different-merge-strategies.private.test.js.map +1 -1
  42. package/dist/test/e2e/cli/error-handling-interactive-mode.private.test.js +2 -9
  43. package/dist/test/e2e/cli/error-handling-interactive-mode.private.test.js.map +1 -1
  44. package/dist/test/e2e/cli/test-that-repo-can-be-cloned.private.test.js +1 -6
  45. package/dist/test/e2e/cli/test-that-repo-can-be-cloned.private.test.js.map +1 -1
  46. package/dist/test/e2e/module/entrypoint.module.mutation.test.js +1 -1
  47. package/dist/test/replaceStringAndLinebreaks.d.ts +1 -0
  48. package/dist/test/replaceStringAndLinebreaks.js +7 -1
  49. package/dist/test/replaceStringAndLinebreaks.js.map +1 -1
  50. package/dist/test/setupFiles/automatic-mocks.js +2 -0
  51. package/dist/test/setupFiles/automatic-mocks.js.map +1 -1
  52. package/dist/utils/packageVersion.d.ts +1 -1
  53. package/dist/utils/packageVersion.js +1 -1
  54. package/package.json +2 -2
  55. package/dist/lib/github/v3/createPullRequest.d.ts +0 -30
  56. package/dist/lib/github/v3/createPullRequest.js +0 -123
  57. package/dist/lib/github/v3/createPullRequest.js.map +0 -1
  58. package/dist/lib/github/v3/createPullRequest.test.js +0 -527
  59. package/dist/lib/github/v3/createPullRequest.test.js.map +0 -1
  60. package/dist/runSequentially.js.map +0 -1
  61. /package/dist/lib/github/v3/{createPullRequest.test.d.ts → getPullRequest/getPullRequestBody.test.d.ts} +0 -0
@@ -1,527 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const createPullRequest_1 = require("./createPullRequest");
4
- describe('getPullRequestBody', () => {
5
- it('when single pull request is backported', () => {
6
- expect((0, createPullRequest_1.getPullRequestBody)({
7
- options: {},
8
- commits: [
9
- {
10
- author: {
11
- email: 'soren.louv@elastic.co',
12
- name: 'Søren Louv-Jansen',
13
- },
14
- sourcePullRequest: {
15
- labels: [],
16
- number: 55,
17
- title: 'My PR Title',
18
- url: 'https://github.com/backport-org/different-merge-strategies/pull/55',
19
- mergeCommit: {
20
- sha: 'abcdefghi',
21
- message: 'My commit message (#55)',
22
- },
23
- },
24
- suggestedTargetBranches: [],
25
- sourceCommit: {
26
- branchLabelMapping: {},
27
- committedDate: '2020',
28
- sha: 'abcdefghi',
29
- message: 'My commit message (#55)',
30
- },
31
- targetPullRequestStates: [],
32
- sourceBranch: 'master',
33
- },
34
- ],
35
- targetBranch: '7.x',
36
- })).toMatchInlineSnapshot(`
37
- "# Backport
38
-
39
- This will backport the following commits from \`master\` to \`7.x\`:
40
- - [My commit message (#55)](https://github.com/backport-org/different-merge-strategies/pull/55)
41
-
42
- <!--- Backport version: 1.2.3-mocked -->
43
-
44
- ### Questions ?
45
- Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport)"
46
- `);
47
- });
48
- it('when a single commit (non pull request) is backported', () => {
49
- expect((0, createPullRequest_1.getPullRequestBody)({
50
- options: {},
51
- commits: [
52
- {
53
- author: {
54
- email: 'soren.louv@elastic.co',
55
- name: 'Søren Louv-Jansen',
56
- },
57
- suggestedTargetBranches: [],
58
- sourceCommit: {
59
- branchLabelMapping: {},
60
- committedDate: '',
61
- sha: 'abcdefghijklmw',
62
- message: 'My commit message',
63
- },
64
- sourceBranch: 'main',
65
- targetPullRequestStates: [],
66
- },
67
- ],
68
- targetBranch: '7.x',
69
- })).toMatchInlineSnapshot(`
70
- "# Backport
71
-
72
- This will backport the following commits from \`main\` to \`7.x\`:
73
- - My commit message (abcdefgh)
74
-
75
- <!--- Backport version: 1.2.3-mocked -->
76
-
77
- ### Questions ?
78
- Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport)"
79
- `);
80
- });
81
- it('when multiple commits are backported', () => {
82
- expect((0, createPullRequest_1.getPullRequestBody)({
83
- options: {},
84
- commits: [
85
- {
86
- author: {
87
- email: 'soren.louv@elastic.co',
88
- name: 'Søren Louv-Jansen',
89
- },
90
- sourcePullRequest: {
91
- labels: [],
92
- number: 55,
93
- title: 'My PR Title',
94
- url: 'https://github.com/backport-org/different-merge-strategies/pull/55',
95
- mergeCommit: {
96
- sha: 'abcdefghijklm',
97
- message: 'My commit message (#55)',
98
- },
99
- },
100
- suggestedTargetBranches: [],
101
- sourceCommit: {
102
- branchLabelMapping: {},
103
- committedDate: '',
104
- sha: 'abcdefghijklm',
105
- message: 'My commit message (#55)',
106
- },
107
- sourceBranch: 'main',
108
- targetPullRequestStates: [],
109
- },
110
- {
111
- author: {
112
- email: 'soren.louv@elastic.co',
113
- name: 'Søren Louv-Jansen',
114
- },
115
- suggestedTargetBranches: [],
116
- sourceCommit: {
117
- branchLabelMapping: {},
118
- committedDate: '',
119
- sha: 'qwertyuiop',
120
- message: 'Another commit message',
121
- },
122
- sourceBranch: 'main',
123
- targetPullRequestStates: [],
124
- },
125
- ],
126
- targetBranch: '7.x',
127
- })).toMatchInlineSnapshot(`
128
- "# Backport
129
-
130
- This will backport the following commits from \`main\` to \`7.x\`:
131
- - [My commit message (#55)](https://github.com/backport-org/different-merge-strategies/pull/55)
132
- - Another commit message (qwertyui)
133
-
134
- <!--- Backport version: 1.2.3-mocked -->
135
-
136
- ### Questions ?
137
- Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport)"
138
- `);
139
- });
140
- it('when a PR is merged (instead of squashed) and the individual commits are selected', () => {
141
- expect((0, createPullRequest_1.getPullRequestBody)({
142
- options: {},
143
- commits: [
144
- {
145
- suggestedTargetBranches: [],
146
- sourceCommit: {
147
- branchLabelMapping: {},
148
- committedDate: '2022-02-07T23:53:14Z',
149
- message: 'Merge strategy: Second commit',
150
- sha: 'e8df5eaa4db7b94474b48e2320b02d33a830d9fb',
151
- },
152
- author: {
153
- email: 'soren.louv@elastic.co',
154
- name: 'Søren Louv-Jansen',
155
- },
156
- sourcePullRequest: {
157
- labels: [],
158
- number: 1,
159
- title: 'My PR Title',
160
- url: 'https://github.com/backport-org/different-merge-strategies/pull/1',
161
- mergeCommit: {
162
- message: 'Merge pull request #1 from backport-org/merge-strategy\n\nMerge commits to `main`',
163
- sha: '0db7f1ac1233461563d8708511d1c14adbab46da',
164
- },
165
- },
166
- sourceBranch: 'main',
167
- targetPullRequestStates: [],
168
- },
169
- {
170
- suggestedTargetBranches: [],
171
- sourceCommit: {
172
- branchLabelMapping: {},
173
- committedDate: '2022-02-07T23:51:59Z',
174
- message: 'Merge strategy: First commit',
175
- sha: '5411b1c1144093e422220008f23f2c2b909ed113',
176
- },
177
- author: {
178
- email: 'soren.louv@elastic.co',
179
- name: 'Søren Louv-Jansen',
180
- },
181
- sourcePullRequest: {
182
- labels: [],
183
- number: 1,
184
- title: 'My PR Title',
185
- url: 'https://github.com/backport-org/different-merge-strategies/pull/1',
186
- mergeCommit: {
187
- message: 'Merge pull request #1 from backport-org/merge-strategy\n\nMerge commits to `main`',
188
- sha: '0db7f1ac1233461563d8708511d1c14adbab46da',
189
- },
190
- },
191
- sourceBranch: 'main',
192
- targetPullRequestStates: [],
193
- },
194
- ],
195
- targetBranch: '7.x',
196
- })).toMatchInlineSnapshot(`
197
- "# Backport
198
-
199
- This will backport the following commits from \`main\` to \`7.x\`:
200
- - [Merge strategy: Second commit](https://github.com/backport-org/different-merge-strategies/pull/1)
201
- - [Merge strategy: First commit](https://github.com/backport-org/different-merge-strategies/pull/1)
202
-
203
- <!--- Backport version: 1.2.3-mocked -->
204
-
205
- ### Questions ?
206
- Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport)"
207
- `);
208
- });
209
- it('replaces template variables in PR description', () => {
210
- expect((0, createPullRequest_1.getPullRequestBody)({
211
- options: {
212
- prDescription: 'Backporting the following to {{targetBranch}}:\n{{commitMessages}}',
213
- },
214
- commits: [
215
- {
216
- author: {
217
- email: 'soren.louv@elastic.co',
218
- name: 'Søren Louv-Jansen',
219
- },
220
- sourcePullRequest: {
221
- labels: [],
222
- number: 55,
223
- title: 'My PR Title',
224
- url: 'https://github.com/backport-org/different-merge-strategies/pull/55',
225
- mergeCommit: {
226
- sha: 'abcdefghijklm',
227
- message: 'My commit message (#55)',
228
- },
229
- },
230
- suggestedTargetBranches: [],
231
- sourceCommit: {
232
- branchLabelMapping: {},
233
- committedDate: '',
234
- sha: 'abcdefghijklm',
235
- message: 'My commit message (#55)',
236
- },
237
- sourceBranch: 'main',
238
- targetPullRequestStates: [],
239
- },
240
- {
241
- author: {
242
- email: 'soren.louv@elastic.co',
243
- name: 'Søren Louv-Jansen',
244
- },
245
- suggestedTargetBranches: [],
246
- sourceCommit: {
247
- branchLabelMapping: {},
248
- committedDate: '',
249
- sha: 'qwertyuiop',
250
- message: 'Another commit message',
251
- },
252
- sourceBranch: 'main',
253
- targetPullRequestStates: [],
254
- },
255
- ],
256
- targetBranch: '7.x',
257
- })).toMatchInlineSnapshot(`
258
- "Backporting the following to 7.x:
259
- - [My commit message (#55)](https://github.com/backport-org/different-merge-strategies/pull/55)
260
- - Another commit message (qwertyui)"
261
- `);
262
- });
263
- it('replaces {{defaultPrDescription}} with the default pr description', () => {
264
- const commits = [
265
- {
266
- sourcePullRequest: {
267
- url: 'https://github.com/backport-org/different-merge-strategies/pull/55',
268
- },
269
- sourceCommit: {
270
- sha: 'abcdefghijklm',
271
- message: 'My commit message (#55)',
272
- },
273
- sourceBranch: 'main',
274
- },
275
- {
276
- sourceCommit: {
277
- sha: 'qwertyuiop',
278
- message: 'Another commit message',
279
- },
280
- },
281
- ];
282
- const options = {
283
- prDescription: '{{defaultPrDescription}}\n\ntext to append',
284
- };
285
- expect((0, createPullRequest_1.getPullRequestBody)({ options, commits, targetBranch: '7.x' }))
286
- .toMatchInlineSnapshot(`
287
- "# Backport
288
-
289
- This will backport the following commits from \`main\` to \`7.x\`:
290
- - [My commit message (#55)](https://github.com/backport-org/different-merge-strategies/pull/55)
291
- - Another commit message (qwertyui)
292
-
293
- <!--- Backport version: 1.2.3-mocked -->
294
-
295
- ### Questions ?
296
- Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport)
297
-
298
- text to append"
299
- `);
300
- });
301
- it('replaces {defaultPrDescription} and {commits} in order to be backwards-compatible', () => {
302
- const commits = [
303
- {
304
- sourcePullRequest: {
305
- url: 'https://github.com/backport-org/different-merge-strategies/pull/55',
306
- },
307
- sourceCommit: {
308
- sha: 'abcdefghijklm',
309
- message: 'My commit message (#55)',
310
- },
311
- sourceBranch: 'main',
312
- },
313
- {
314
- sourceCommit: {
315
- sha: 'qwertyuiop',
316
- message: 'Another commit message',
317
- },
318
- },
319
- ];
320
- const options = {
321
- prDescription: '{defaultPrDescription}\n\n<!--BACKPORT {commits} BACKPORT-->',
322
- };
323
- expect((0, createPullRequest_1.getPullRequestBody)({ options, commits, targetBranch: '7.x' }))
324
- .toMatchInlineSnapshot(`
325
- "# Backport
326
-
327
- This will backport the following commits from \`main\` to \`7.x\`:
328
- - [My commit message (#55)](https://github.com/backport-org/different-merge-strategies/pull/55)
329
- - Another commit message (qwertyui)
330
-
331
- <!--- Backport version: 1.2.3-mocked -->
332
-
333
- ### Questions ?
334
- Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport)
335
-
336
- <!--BACKPORT [{"sourcePullRequest":{"url":"https://github.com/backport-org/different-merge-strategies/pull/55"},"sourceCommit":{"sha":"abcdefghijklm","message":"My commit message (#55)"},"sourceBranch":"main"},{"sourceCommit":{"sha":"qwertyuiop","message":"Another commit message"}}] BACKPORT-->"
337
- `);
338
- });
339
- it('replaces {{commitsStringified}} with a stringified commits object', () => {
340
- const commits = [
341
- {
342
- sourceCommit: {
343
- sha: 'foo',
344
- message: 'My commit message (#55)',
345
- },
346
- },
347
- {
348
- sourceCommit: {
349
- sha: 'bar',
350
- message: 'Another commit message',
351
- },
352
- },
353
- ];
354
- const options = {
355
- prDescription: 'Just output the commits: {{commitsStringified}}',
356
- };
357
- expect((0, createPullRequest_1.getPullRequestBody)({ options, commits, targetBranch: '7.x' })).toMatchInlineSnapshot(`"Just output the commits: [{"sourceCommit":{"sha":"foo","message":"My commit message (#55)"}},{"sourceCommit":{"sha":"bar","message":"Another commit message"}}]"`);
358
- });
359
- it('can render a list of commits', () => {
360
- const commits = [
361
- {
362
- sourceCommit: {
363
- sha: 'foo',
364
- message: 'My commit message (#55)',
365
- },
366
- },
367
- {
368
- sourceCommit: {
369
- sha: 'bar',
370
- message: 'Another commit message',
371
- },
372
- },
373
- ];
374
- const options = {
375
- prDescription: 'Just output the commits:\n\n - {{#each commits}}{{shortSha this.sourceCommit.sha}} {{this.sourceCommit.message}}{{/each}}',
376
- };
377
- expect((0, createPullRequest_1.getPullRequestBody)({ options, commits, targetBranch: '7.x' }))
378
- .toMatchInlineSnapshot(`
379
- "Just output the commits:
380
-
381
- - foo My commit message (#55)bar Another commit message"
382
- `);
383
- });
384
- it('can render a message formatted to prodfiler team needs', () => {
385
- const commits = [
386
- {
387
- sourceCommit: {
388
- sha: '9e42503a7d0e06e60c575ed2c3b7dc3e5df0dd5c',
389
- message: 'My commit message (#55)',
390
- },
391
- sourcePullRequest: {
392
- number: 123,
393
- title: 'Original PR title',
394
- },
395
- },
396
- {
397
- sourceCommit: {
398
- sha: '5ce6c3fb9525426d66a85eba057e1214f5f52995',
399
- message: 'Another commit message',
400
- },
401
- },
402
- ];
403
- const options = {
404
- prDescription: `Backport #{{commits.0.sourcePullRequest.number}}: {{commits.0.sourcePullRequest.title}}
405
-
406
- {{#each commits}}{{shortSha this.sourceCommit.sha}} {{this.sourceCommit.message}}\n{{/each}}`,
407
- };
408
- expect((0, createPullRequest_1.getPullRequestBody)({ options, commits, targetBranch: '7.x' }))
409
- .toMatchInlineSnapshot(`
410
- "Backport #123: Original PR title
411
-
412
- 9e42503a My commit message (#55)
413
- 5ce6c3fb Another commit message
414
- "
415
- `);
416
- });
417
- });
418
- describe('getTitle', () => {
419
- const commits = [
420
- {
421
- author: {
422
- email: 'soren.louv@elastic.co',
423
- name: 'Søren Louv-Jansen',
424
- },
425
- sourceBranch: 'main',
426
- sourcePullRequest: {
427
- labels: [],
428
- title: 'My PR Title',
429
- number: 55,
430
- url: 'https://github.com/backport-org/different-merge-strategies/pull/55',
431
- mergeCommit: {
432
- sha: 'abcdefghi',
433
- message: 'My commit message (#55)',
434
- },
435
- },
436
- suggestedTargetBranches: [],
437
- sourceCommit: {
438
- branchLabelMapping: {},
439
- committedDate: '2020',
440
- sha: 'abcdefghi',
441
- message: 'My commit message (#55)',
442
- },
443
- targetPullRequestStates: [],
444
- },
445
- {
446
- author: {
447
- email: 'soren.louv@elastic.co',
448
- name: 'Søren Louv-Jansen',
449
- },
450
- sourcePullRequest: {
451
- labels: [],
452
- number: 56,
453
- title: 'My PR Title',
454
- url: 'https://github.com/backport-org/different-merge-strategies/pull/56',
455
- mergeCommit: {
456
- sha: 'jklmnopqr',
457
- message: 'Another commit message (#56)',
458
- },
459
- },
460
- suggestedTargetBranches: [],
461
- sourceCommit: {
462
- branchLabelMapping: {},
463
- committedDate: '2020',
464
- sha: 'jklmnopqr',
465
- message: 'Another commit message (#56)',
466
- },
467
- sourceBranch: 'main',
468
- targetPullRequestStates: [],
469
- },
470
- ];
471
- it('has the default title', () => {
472
- const options = {};
473
- expect((0, createPullRequest_1.getTitle)({ options, commits, targetBranch: '7.x' })).toEqual('[7.x] My commit message (#55) | Another commit message (#56)');
474
- });
475
- it('renders title with the original PR title', () => {
476
- const options = {
477
- prTitle: '[{{targetBranch}}] {{sourcePullRequest.title}}',
478
- };
479
- expect((0, createPullRequest_1.getTitle)({ options, commits, targetBranch: '7.x' })).toEqual('[7.x] My PR Title');
480
- });
481
- it('renders title using a specific commit', () => {
482
- const options = {
483
- prTitle: '[{{targetBranch}}] {{commits.0.sourcePullRequest.title}}',
484
- };
485
- expect((0, createPullRequest_1.getTitle)({ options, commits, targetBranch: '7.x' })).toEqual('[7.x] My PR Title');
486
- });
487
- it('renders title using {{commitMessages}}', () => {
488
- const options = {
489
- prTitle: 'Branch: "{{targetBranch}}". Messages: {{commitMessages}}',
490
- };
491
- expect((0, createPullRequest_1.getTitle)({ options, commits, targetBranch: '7.x' })).toEqual('Branch: "7.x". Messages: My commit message (#55) | Another commit message (#56)');
492
- });
493
- it('support backticks', () => {
494
- const options = {
495
- prTitle: '[{{targetBranch}}] {{commitMessages}}',
496
- };
497
- const commits = [
498
- {
499
- author: {
500
- email: 'soren.louv@elastic.co',
501
- name: 'Søren Louv-Jansen',
502
- },
503
- sourceBranch: 'main',
504
- sourcePullRequest: {
505
- labels: [],
506
- title: 'My PR Title',
507
- number: 55,
508
- url: 'https://github.com/backport-org/different-merge-strategies/pull/55',
509
- mergeCommit: {
510
- sha: 'abcdefghi',
511
- message: 'My commit message (#55)',
512
- },
513
- },
514
- suggestedTargetBranches: [],
515
- sourceCommit: {
516
- branchLabelMapping: {},
517
- committedDate: '2020',
518
- sha: 'abcdefghi',
519
- message: 'My commit message with `backticks` (#55)',
520
- },
521
- targetPullRequestStates: [],
522
- },
523
- ];
524
- expect((0, createPullRequest_1.getTitle)({ options, commits, targetBranch: '7.x' })).toEqual('[7.x] My commit message with `backticks` (#55)');
525
- });
526
- });
527
- //# sourceMappingURL=createPullRequest.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createPullRequest.test.js","sourceRoot":"","sources":["../../../../src/lib/github/v3/createPullRequest.test.ts"],"names":[],"mappings":";;AAEA,2DAAmE;AAEnE,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAClC,EAAE,CAAC,wCAAwC,EAAE,GAAG,EAAE;QAChD,MAAM,CACJ,IAAA,sCAAkB,EAAC;YACjB,OAAO,EAAE,EAAwB;YACjC,OAAO,EAAE;gBACP;oBACE,MAAM,EAAE;wBACN,KAAK,EAAE,uBAAuB;wBAC9B,IAAI,EAAE,mBAAmB;qBAC1B;oBACD,iBAAiB,EAAE;wBACjB,MAAM,EAAE,EAAE;wBACV,MAAM,EAAE,EAAE;wBACV,KAAK,EAAE,aAAa;wBACpB,GAAG,EAAE,oEAAoE;wBACzE,WAAW,EAAE;4BACX,GAAG,EAAE,WAAW;4BAChB,OAAO,EAAE,yBAAyB;yBACnC;qBACF;oBAED,uBAAuB,EAAE,EAAE;oBAC3B,YAAY,EAAE;wBACZ,kBAAkB,EAAE,EAAE;wBACtB,aAAa,EAAE,MAAM;wBACrB,GAAG,EAAE,WAAW;wBAChB,OAAO,EAAE,yBAAyB;qBACnC;oBAED,uBAAuB,EAAE,EAAE;oBAC3B,YAAY,EAAE,QAAQ;iBACvB;aACF;YAED,YAAY,EAAE,KAAK;SACpB,CAAC,CACH,CAAC,qBAAqB,CAAC;;;;;;;;;;KAUvB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,uDAAuD,EAAE,GAAG,EAAE;QAC/D,MAAM,CACJ,IAAA,sCAAkB,EAAC;YACjB,OAAO,EAAE,EAAwB;YACjC,OAAO,EAAE;gBACP;oBACE,MAAM,EAAE;wBACN,KAAK,EAAE,uBAAuB;wBAC9B,IAAI,EAAE,mBAAmB;qBAC1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