Select the type of notification to display:
+Done!
+ } + + switch (currentStep) { + case TestNotificationStepKind.SelectPullRequest: + return this.renderSelectPullRequest() + case TestNotificationStepKind.SelectPullRequestReview: + return this.renderSelectPullRequestReview() + case TestNotificationStepKind.SelectPullRequestComment: + return this.renderSelectPullRequestComment() + default: + return assertNever(currentStep, `Unknown step: ${currentStep}`) + } + } + + private renderSelectPullRequest() { + if (this.state.loading) { + returnNo pull requests found
+ } + + return ( +No reviews found
+ } + + return ( +No comments found
+ } + + return ( +