-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(azure): Fix "branchName" field for azure-helper.ts (#7211)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
- Loading branch information
Showing
9 changed files
with
281 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`platform/azure/helpers getRenovatePRFormat should be formated (closed v2) 1`] = ` | ||
Object { | ||
"body": undefined, | ||
"branchName": undefined, | ||
"createdAt": undefined, | ||
"displayNumber": "Pull Request #undefined", | ||
"number": undefined, | ||
"sourceRefName": undefined, | ||
"state": "merged", | ||
"status": 3, | ||
"targetBranch": undefined, | ||
} | ||
`; | ||
|
||
exports[`platform/azure/helpers getRenovatePRFormat should be formated (closed) 1`] = ` | ||
Object { | ||
"body": undefined, | ||
"branchName": undefined, | ||
"createdAt": undefined, | ||
"displayNumber": "Pull Request #undefined", | ||
"number": undefined, | ||
"sourceRefName": undefined, | ||
"state": "closed", | ||
"status": 2, | ||
"targetBranch": undefined, | ||
} | ||
`; | ||
|
||
exports[`platform/azure/helpers getRenovatePRFormat should be formated (isConflicted) 1`] = ` | ||
Object { | ||
"body": undefined, | ||
"branchName": undefined, | ||
"createdAt": undefined, | ||
"displayNumber": "Pull Request #undefined", | ||
"isConflicted": true, | ||
"mergeStatus": 2, | ||
"number": undefined, | ||
"sourceRefName": undefined, | ||
"state": "open", | ||
"targetBranch": undefined, | ||
} | ||
`; | ||
|
||
exports[`platform/azure/helpers getRenovatePRFormat should be formated (not closed) 1`] = ` | ||
Object { | ||
"body": undefined, | ||
"branchName": undefined, | ||
"createdAt": undefined, | ||
"displayNumber": "Pull Request #undefined", | ||
"number": undefined, | ||
"sourceRefName": undefined, | ||
"state": "open", | ||
"status": 1, | ||
"targetBranch": undefined, | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.