mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Slider test updates
This commit is contained in:
parent
ae79ad91cf
commit
eb1b742fdc
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue