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

@ -25,7 +25,6 @@ describe('SelectButton.vue', () => {
await wrapper.setProps({ modelValue: wrapper.vm.options[0] });
expect(wrapper.findAll('.p-button.p-component')[0].attributes()['aria-pressed']).toBe('true');
expect(wrapper.findAll('.p-button.p-component')[0].classes()).toContain('p-highlight');
});
});
@ -38,9 +37,9 @@ describe('multiple select', () => {
props: {
modelValue: null,
options: [
{name: 'Option 1', value: 1},
{name: 'Option 2', value: 2},
{name: 'Option 3', value: 3}
{ name: 'Option 1', value: 1 },
{ name: 'Option 2', value: 2 },
{ name: 'Option 3', value: 3 }
],
optionLabel: 'name',
multiple: true
@ -53,4 +52,4 @@ describe('multiple select', () => {
expect(wrapper.findAll('.p-highlight').length).toBe(3);
});
});
});