stable

Clone or download

Read-only

chore: Provide by vue/test-utils instead of mocking inject in Pull Request

part of request #38693 Use vue/test-utils instead of mocking strict inject No functional change. Unit tests should pass. Change-Id: I729912d466c6bda82a2ebc8c30e61fbf57466ef6

Modified Files

Name
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestListFilters.test.ts +2 −6 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestsSortOrder.test.ts +4 −8 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/RelatedToMe/RelatedToMeSwitch.test.ts +6 −10 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Status/ClosedPullRequestsFilterSwitch.test.ts +4 −8 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequest/PullRequestCard.test.ts +5 −7 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequest/PullRequestCreationDate.test.ts +3 −10 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequestsList.test.ts +11 −17 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequestsListEmptyState.test.ts +4 −8 Go to diff View file
R plugins/pullrequest/scripts/pullrequest-homepage/tests/injection-symbols-stub.ts Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/PullRequestChangeStateActions.test.ts +6 −15 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/abandon/PullRequestAbandonButton.test.ts +9 −19 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/abandon/PullRequestAbandonedState.test.ts +13 −25 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/abandon/PullRequestMergeWarningModal.test.ts +3 −11 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/merge/PullRequestAlreadyMergedState.test.ts +9 −10 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/merge/PullRequestMergeButton.test.ts +7 −17 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/PullRequestLabels.test.ts +4 −14 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Labels/PullRequestManageLabelsModal.test.ts +4 −13 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/OverviewTabs.test.ts +7 −17 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/ReadOnlyInfo/PullRequestCIStatus.test.ts +9 −9 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/ReadOnlyInfo/PullRequestReferences.test.ts +8 −15 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/ReadOnlyInfo/PullRequestRelativeDate.test.ts +7 −14 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Reviewers/PullRequestManageReviewersModal.test.ts +5 −15 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Reviewers/PullRequestReviewerList.test.ts +5 −14 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewNewCommentForm.test.ts +10 −23 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewThreads.test.ts +12 −27 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Title/PullRequestEditTitleModal.test.ts +4 −16 Go to diff View file