mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[improvement] Cell: functional (#2729)
This commit is contained in:
@@ -11,9 +11,6 @@ test('change event', () => {
|
||||
}
|
||||
});
|
||||
|
||||
wrapper.vm.$on('input', value => {
|
||||
wrapper.setProps({ value });
|
||||
});
|
||||
wrapper.find('.van-switch').trigger('click');
|
||||
|
||||
expect(onChange.mock.calls[0]).toBeTruthy();
|
||||
|
Reference in New Issue
Block a user