-
Notifications
You must be signed in to change notification settings - Fork 25
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
RTP6b #320
Conversation
channel2.presence.enterClient("john", data: "online") | ||
channel2.presence.updateClient("john", data: "away") | ||
channel2.presence.leaveClient("john", data: nil) | ||
done() |
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.
You are not waiting to check that the update event was received by the subscribe callback, this test could complete before that assertion.
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.
Agreed. Plus, you have to make sure that no other event is recorded. I suspect this won't work provided that #319 doesn't work, so I don't think this test would pass.
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.
Plus, you have to make sure that no other event is recorded.
@tcard Can you clarify, please.
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.
Nothing, actually, I somehow missed this line...
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.
Done dc09a31.
LGTM |
1 similar comment
LGTM |
No description provided.