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
|
@ -21,12 +21,12 @@ describe('PanelMenu', () => {
|
|||
{
|
||||
key: '2_0',
|
||||
label: 'New',
|
||||
icon: 'pi pi-fw pi-user-plus',
|
||||
icon: 'pi pi-fw pi-user-plus'
|
||||
},
|
||||
{
|
||||
key: '2_1',
|
||||
label: 'Delete',
|
||||
icon: 'pi pi-fw pi-user-minus',
|
||||
icon: 'pi pi-fw pi-user-minus'
|
||||
},
|
||||
{
|
||||
key: '2_2',
|
||||
|
@ -76,10 +76,10 @@ describe('PanelMenu', () => {
|
|||
});
|
||||
|
||||
it('should update expandedKeys', async () => {
|
||||
await wrapper.setProps({ expandedKeys: {'2': true} });
|
||||
await wrapper.setProps({ expandedKeys: { 2: true } });
|
||||
|
||||
await wrapper.vm.onItemClick({}, wrapper.vm.model[0].items[2]);
|
||||
|
||||
expect(wrapper.emitted()['update:expandedKeys'][0]).toEqual([{ '2': true, '2_2': true }]);
|
||||
expect(wrapper.emitted()['update:expandedKeys'][0]).toEqual([{ 2: true, '2_2': true }]);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue