Slider test updates

pull/3769/head
Bahadır Sofuoğlu 2023-03-19 21:09:58 +03:00
parent ae79ad91cf
commit eb1b742fdc
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ describe('Slider.vue', () => {
}); });
it('should drag start and end', async () => { it('should drag start and end', async () => {
await wrapper.vm.onDragStart({ preventDefault: () => {} }); await wrapper.vm.onDragStart({ preventDefault: () => {}, currentTarget: { focus: () => {} } });
expect(wrapper.find('.p-slider').classes()).toContain('p-slider-sliding'); expect(wrapper.find('.p-slider').classes()).toContain('p-slider-sliding');