Components added. Build issues fixed

This commit is contained in:
Bahadir Sofuoglu 2022-09-14 14:26:01 +03:00
parent 5b66ed1093
commit 18c3721848
344 changed files with 12446 additions and 8758 deletions

View file

@ -18,10 +18,10 @@ describe('Chips.vue', () => {
expect(wrapper.find('li.p-chips-input-token').exists()).toBe(true);
});
it('should add item', async() => {
it('should add item', async () => {
const addItem = jest.spyOn(wrapper.vm, 'addItem');
await wrapper.vm.addItem({},'PrimeVue', false);
await wrapper.vm.addItem({}, 'PrimeVue', false);
await wrapper.setProps({ modelValue: ['PrimeVue'] });
@ -30,4 +30,4 @@ describe('Chips.vue', () => {
expect(wrapper.find('.p-chips-token-label').exists()).toBe(true);
expect(wrapper.find('.p-chips-token-label').text()).toBe('PrimeVue');
});
});
});