From 6a39d49012efe32a9edc69c736099eb7d0fcb92e Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Sun, 27 Oct 2024 16:21:18 -0400 Subject: [PATCH] test: update snapshots Signed-off-by: Adam Setch --- .../__snapshots__/index.spec.ts.snap | 148 ------------------ 1 file changed, 148 deletions(-) diff --git a/lib/modules/platform/bitbucket/__snapshots__/index.spec.ts.snap b/lib/modules/platform/bitbucket/__snapshots__/index.spec.ts.snap index 1aac744d10a912..b009eb1bde00d7 100644 --- a/lib/modules/platform/bitbucket/__snapshots__/index.spec.ts.snap +++ b/lib/modules/platform/bitbucket/__snapshots__/index.spec.ts.snap @@ -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`;