mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Unit test fixes after major updates
This commit is contained in:
parent
fe60480678
commit
acfaf6af9f
13 changed files with 21 additions and 59 deletions
|
@ -20,7 +20,7 @@ describe('Slider.vue', () => {
|
|||
it('should drag start and end', async () => {
|
||||
await wrapper.vm.onDragStart({ preventDefault: () => {}, currentTarget: { focus: () => {} } });
|
||||
|
||||
expect(wrapper.find('.p-slider').classes()).toContain('p-slider-sliding');
|
||||
expect(wrapper.find('.p-slider').classes()).toStrictEqual(['p-slider', 'p-component', 'p-slider-horizontal']);
|
||||
|
||||
await wrapper.vm.onDragEnd();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue