mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[Improvement] Slider: add test cases (#1192)
This commit is contained in:
@@ -19,7 +19,7 @@ test('click number key', () => {
|
||||
mockTouch(wrapper, 'touchstart', 10);
|
||||
mockTouch(wrapper, 'touchstart', 0);
|
||||
mockTouch(wrapper, 'touchend', 0);
|
||||
wrapper.vm.$destroy();
|
||||
wrapper.destroy();
|
||||
expect(wrapper.emitted('input')[0][0]).toEqual(1);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user