mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Test fixes
This commit is contained in:
parent
2e04dc691e
commit
e1bca55172
6 changed files with 6 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
import PrimeVue from 'primevue/config';
|
||||
import { mount } from '@vue/test-utils';
|
||||
import PrimeVue from 'primevue/config';
|
||||
import MultiSelect from './MultiSelect.vue';
|
||||
|
||||
describe('MultiSelect.vue', () => {
|
||||
|
@ -37,7 +37,7 @@ describe('MultiSelect.vue', () => {
|
|||
|
||||
expect(wrapper.findAll('li.p-multiselect-item').length).toBe(5);
|
||||
expect(wrapper.findAll('li.p-multiselect-item')[0].attributes()['aria-label']).toBe('New York');
|
||||
expect(wrapper.findAll('li.p-multiselect-item')[0].findAll('span')[1].text()).toBe('New York');
|
||||
expect(wrapper.findAll('li.p-multiselect-item')[0].text()).toBe('New York');
|
||||
});
|
||||
|
||||
it('should select an item', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue