test: update datepicker test

pull/165/head
tangjinzhou 2018-07-03 10:24:17 +08:00
parent 9f7df84af0
commit add35b78f0
1 changed files with 2 additions and 2 deletions

View File

@ -180,10 +180,10 @@ describe('DatePicker', () => {
}, 0)
await asyncExpect(() => {
clearInput(wrapper)
})
}, 0)
await asyncExpect(() => {
openPanel(wrapper)
})
}, 0)
await asyncExpect(() => {
expect(hasSelected(wrapper, moment('2016-11-22'))).toBe(true)
}, 0)