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', () => {