From eb1b742fdca3365d1ec88aaf70d46e4ecfb478d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Sun, 19 Mar 2023 21:09:58 +0300 Subject: [PATCH] Slider test updates --- components/slider/Slider.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/slider/Slider.spec.js b/components/slider/Slider.spec.js index 67c8a5a71..7e6909728 100644 --- a/components/slider/Slider.spec.js +++ b/components/slider/Slider.spec.js @@ -18,7 +18,7 @@ describe('Slider.vue', () => { }); 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');