diff options
author | marco <marcoambrosini@pm.me> | 2022-03-24 18:11:09 +0300 |
---|---|---|
committer | marco <marcoambrosini@pm.me> | 2022-03-24 18:12:37 +0300 |
commit | 55923f471c8aed4dcc2ac6c0bd542d188a6a209f (patch) | |
tree | 4bddb50ab79e13ce3dd6d701dcbade36c3c377e8 /src/components/MessagesList/MessagesGroup/Message/Message.spec.js | |
parent | 67b200422c16794e768f9b9ea8e225449f5760fc (diff) |
Use findComponent instead of find
Signed-off-by: marco <marcoambrosini@pm.me>
Diffstat (limited to 'src/components/MessagesList/MessagesGroup/Message/Message.spec.js')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/Message.spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/Message.spec.js b/src/components/MessagesList/MessagesGroup/Message/Message.spec.js index b08ff8f71..3f73def72 100644 --- a/src/components/MessagesList/MessagesGroup/Message/Message.spec.js +++ b/src/components/MessagesList/MessagesGroup/Message/Message.spec.js @@ -616,7 +616,7 @@ describe('Message.vue', () => { // Hover the messages in order to render the MessageButtonsBar // component await wrapper.find('.message').trigger('mouseover') - wrapper.find(MessageButtonsBar).vm.$emit('delete') + wrapper.findComponent(MessageButtonsBar).vm.$emit('delete') expect(deleteMessage).toHaveBeenCalledWith(expect.anything(), { message: { |