mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[Improvement] Slider: add test cases (#1192)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import Vue from 'vue';
|
||||
import Popup from '../';
|
||||
import { mount, TransitionStub } from '@vue/test-utils';
|
||||
import { triggerDrag } from '../../../test/touch-utils';
|
||||
import { triggerDrag } from '../../../test/utils';
|
||||
|
||||
Vue.component('transition', TransitionStub);
|
||||
|
||||
let wrapper;
|
||||
afterEach(() => {
|
||||
wrapper.vm.$destroy();
|
||||
wrapper.destroy();
|
||||
});
|
||||
|
||||
test('lazy render', () => {
|
||||
|
Reference in New Issue
Block a user