-
Notifications
You must be signed in to change notification settings - Fork 281
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
fix: [botbuilder-core] TestAdapter throws unhandled promise rejection on error #3990
fix: [botbuilder-core] TestAdapter throws unhandled promise rejection on error #3990
Conversation
c0fb83b
to
447a103
Compare
Working around this bug on the testing framework is a bit painful currently, since we can't test that the application recovers correctly after unexpected errors. |
447a103
to
fa5cc81
Compare
b0289af
to
73eb9f7
Compare
@joshgummersall , I rebased on main and fixed the issues raised. Thank you for your time |
73eb9f7
to
f1b773d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Test Coverage Report for Build 1931446834
💛 - Coveralls |
Description TestAdapter throws unhalded promise rejections on errors - The testadapter should handle errors - For that, TestFlow must implement the thenable implementation correctly Specific Changes - Implemented further the tenable on TestFlow to allow handling catch clauses correctly Testing A test is added to verify the behavior change (If you run that test on main before this PR is merged, it fails)
3b58c97
to
ad397d6
Compare
Rebased again and pushed the api change as obtained running |
- Ran yarn test:compat --local
ad397d6
to
0d3aac2
Compare
Description
TestAdapter throws unhalded promise rejections on errors
Specific Changes
Testing
A test is added to verify the behavior change (If you run that test on main before this PR is merged, it fails)
#minor