diff options
Diffstat (limited to 'src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.spec.js')
-rw-r--r-- | src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.spec.js b/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.spec.js index 62afba853..8ed0a391b 100644 --- a/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.spec.js +++ b/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.spec.js @@ -757,7 +757,7 @@ describe('Participant.vue', () => { test('triggers event when clicking', async () => { const eventHandler = jest.fn() const wrapper = mountParticipant(participant) - wrapper.vm.$on('clickParticipant', eventHandler) + wrapper.vm.$on('click-participant', eventHandler) await wrapper.find('li').trigger('click') @@ -769,7 +769,7 @@ describe('Participant.vue', () => { delete participant.label delete participant.source const wrapper = mountParticipant(participant) - wrapper.vm.$on('clickParticipant', eventHandler) + wrapper.vm.$on('click-participant', eventHandler) await wrapper.find('li').trigger('click') |