-
-
Notifications
You must be signed in to change notification settings - Fork 612
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
MatrixRTC: MembershipManager test cases #4713
base: develop
Are you sure you want to change the base?
Conversation
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.
Just a few quick things. I haven't looked at the main test cases yet.
a2702a3
to
987863a
Compare
Pulled out from #4713
8926281
to
d9192f3
Compare
8788ce4
to
3d46d05
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.
This review is for the new leave()
test cases added by 4e60a35
Aside from this I have added in some comments on the open threads.
Make every mock return a Promise if the real implementation does return a pormise.
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.
Thanks for the fixes, looks good.
Part of element-hq/element-call#2972.
This shouldn't introduce any behaviour changes, but refactor the tests to be based on the MembershipManager abstraction. It includes some tests which would fail on the current LegacyMembershipManager implementation which will be handled by a new implementation.
Checklist
public
/exported
symbols have accurate TSDoc documentation.