Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActivityPrompt wasn't using retryPrompt if specified. #673

Merged
merged 3 commits into from
Dec 4, 2018

Conversation

Stevenic
Copy link
Contributor

@Stevenic Stevenic commented Dec 3, 2018

Fixes #495

Description

ActivityPrompt wasn't using the retryPrompt option if it was passed in as part of the prompt options. This made it inconsistent with the other prompts.

Specific Changes

ActivityPrompt now works more like the other prompts and will automatically re-prompt the user if the received activity is a "message" and was un-handled.

Testing

Updated unit tests and added an additional test.

@coveralls
Copy link

coveralls commented Dec 3, 2018

Pull Request Test Coverage Report for Build 2363

  • 8 of 8 (100.0%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 82.162%

Files with Coverage Reduction New Missed Lines %
libraries/botframework-config/src/botConfigurationBase.ts 2 85.59%
Totals Coverage Status
Change from base Build 2337: -0.02%
Covered Lines: 2630
Relevant Lines: 3082

💛 - Coveralls

@Stevenic Stevenic merged commit bf69df9 into master Dec 4, 2018
@Stevenic Stevenic deleted the stevenic/activityPrompt-fix branch December 4, 2018 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants