mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Components added. Build issues fixed
This commit is contained in:
parent
5b66ed1093
commit
18c3721848
344 changed files with 12446 additions and 8758 deletions
|
@ -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');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue