-
Notifications
You must be signed in to change notification settings - Fork 70
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
Cnwankwo/together mode ut #5597
base: cnwankwo/together_mode_bugbash_fixes
Are you sure you want to change the base?
Cnwankwo/together mode ut #5597
Conversation
Storybook 8 URL https://60c7ae6891f0e90039d7cd54-akqtlirurs.chromatic.com/ |
Storybook 8 URL https://60c7ae6891f0e90039d7cd54-omfkpwltvn.chromatic.com/ |
|
||
const updatedLocalParticipant = { | ||
...localParticipant, | ||
reaction: { reactionType: '👍', receivedOn: new Date() } |
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.
To properly represent the reaction type this should be an enum 'like' | 'heart'
and so on
@@ -177,6 +176,7 @@ export const TogetherModeOverlay = memo( | |||
participantStatus.id && ( | |||
<div | |||
key={participantStatus.id} | |||
data-ui-group="together-mode-participant" |
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.
For our hermetic and unit tests we usually use data-ui-id
unsure what the group is and how it would impact our existing selector fetching. if you want to reuse the utilities in the hermetic tests you will want to use this prop instead
What
Why
How Tested
Process & policy checklist
Is this a breaking change?