test: update datepicker test

pull/77/merge
tangjinzhou 2018-07-03 10:24:17 +08:00
parent 1584b3839e
commit dc94eeaefa
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)