fix(DatetimePicker): getPicker method not work (#5710)

This commit is contained in:
陈嘉涵
2020-02-22 17:55:05 +08:00
parent 7cc887a20c
commit e48e5d47cd
4 changed files with 15 additions and 2 deletions
@@ -30,3 +30,8 @@ test('time type', () => {
expect(wrapper).toMatchSnapshot();
});
test('getPicker method', () => {
const wrapper = mount(DatetimePicker);
expect(wrapper.vm.getPicker()).toBeTruthy();
});