Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Setch <[email protected]>
  • Loading branch information
setchy committed Oct 27, 2024
1 parent 9e547b2 commit 6a39d49
Showing 1 changed file with 0 additions and 148 deletions.
148 changes: 0 additions & 148 deletions lib/modules/platform/bitbucket/__snapshots__/index.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,154 +2,6 @@

exports[`modules/platform/bitbucket/index addAssignees() does not throw 1`] = `undefined`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck addAssignees() does not throw 1`] = `undefined`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck ensureComment() does not throw 1`] = `false`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck ensureCommentRemoval() does not throw 1`] = `undefined`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck findIssue() does not throw 1`] = `
{
"body": "content",
"number": 25,
}
`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck findPr() finds pr 1`] = `
{
"bodyStruct": {
"hash": "761b7ad8ad439b2855fcbb611331c646ef0870b0631247bba3f3025cb6df5a53",
},
"createdAt": "2018-07-02T07:02:25.275030+00:00",
"number": 5,
"sourceBranch": "branch",
"state": "open",
"targetBranch": "master",
"title": "title",
}
`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck getBranchPr() bitbucket finds PR for branch 1`] = `
{
"bodyStruct": {
"hash": "761b7ad8ad439b2855fcbb611331c646ef0870b0631247bba3f3025cb6df5a53",
},
"createdAt": "2018-07-02T07:02:25.275030+00:00",
"number": 5,
"sourceBranch": "branch",
"state": "open",
"targetBranch": "master",
"title": "title",
}
`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck getIssueList() get issues 1`] = `
[
{
"content": {
"raw": "content",
},
"id": 25,
"title": "title",
},
{
"content": {
"raw": "content",
},
"id": 26,
"title": "title",
},
]
`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck getPr() canRebase 1`] = `
{
"bodyStruct": {
"hash": "761b7ad8ad439b2855fcbb611331c646ef0870b0631247bba3f3025cb6df5a53",
},
"createdAt": "2018-07-02T07:02:25.275030+00:00",
"number": 3,
"sourceBranch": "branch",
"state": "open",
"targetBranch": "master",
"title": "title",
}
`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck getPr() canRebase 2`] = `
{
"bodyStruct": {
"hash": "761b7ad8ad439b2855fcbb611331c646ef0870b0631247bba3f3025cb6df5a53",
},
"createdAt": "2018-07-02T07:02:25.275030+00:00",
"number": 5,
"sourceBranch": "branch",
"state": "open",
"targetBranch": "master",
"title": "title",
}
`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck getPr() canRebase 3`] = `
{
"bodyStruct": {
"hash": "761b7ad8ad439b2855fcbb611331c646ef0870b0631247bba3f3025cb6df5a53",
},
"createdAt": "2018-07-02T07:02:25.275030+00:00",
"number": 5,
"sourceBranch": "branch",
"state": "open",
"targetBranch": "master",
"title": "title",
}
`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck getPr() exists 1`] = `
{
"bodyStruct": {
"hash": "761b7ad8ad439b2855fcbb611331c646ef0870b0631247bba3f3025cb6df5a53",
},
"createdAt": "2018-07-02T07:02:25.275030+00:00",
"number": 5,
"sourceBranch": "branch",
"state": "open",
"targetBranch": "master",
"title": "title",
}
`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck getPrList() filters PR list by author 1`] = `
[
{
"bodyStruct": {
"hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
},
"createdAt": undefined,
"number": 1,
"sourceBranch": "branch-a",
"state": "open",
"targetBranch": "branch-b",
"title": undefined,
},
]
`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck massageMarkdown() returns diff files 1`] = `
"**foo**
**text**
"
`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck updatePr() rethrows exception when PR update error due to unknown reviewers error 1`] = `"Response code 400 (Bad Request)"`;

exports[`modules/platform/bitbucket/index bbMendAppDashboardCheck updatePr() throws an error on failure to get current list of reviewers 1`] = `"Response code 500 (Internal Server Error)"`;

exports[`modules/platform/bitbucket/index ensureComment() does not throw 1`] = `false`;

exports[`modules/platform/bitbucket/index ensureCommentRemoval() does not throw 1`] = `undefined`;
Expand Down

0 comments on commit 6a39d49

Please sign in to comment.