From 265ee5a5b46b6bd9a766cd8d522604d4100c555e Mon Sep 17 00:00:00 2001 From: Lera24 Date: Wed, 13 Mar 2024 14:15:53 +0200 Subject: [PATCH] fix: unit test[WTEL-4310] --- src/components/wt-tags-input/__tests__/WtTagsInput.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/wt-tags-input/__tests__/WtTagsInput.spec.js b/src/components/wt-tags-input/__tests__/WtTagsInput.spec.js index 0542a1c1e..3fa3f36da 100644 --- a/src/components/wt-tags-input/__tests__/WtTagsInput.spec.js +++ b/src/components/wt-tags-input/__tests__/WtTagsInput.spec.js @@ -25,7 +25,7 @@ describe('WtTagsInput', () => { }, }); wrapper.findComponent({ name: 'vue-multiselect' }).vm.$emit('tag', tag); - expect(wrapper.emitted().input[0]).toEqual([tag]); + expect(wrapper.emitted().input[0][0]).toEqual([tag]); }); it('in manual mode doesnt emit "input" event at native "tag" event', () => {