Skip to content

Commit

Permalink
test: update the click test
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxiong10 committed Oct 23, 2019
1 parent 57d57fc commit 2e06011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('datepicker', () => {
})
const vm = wrapper.vm
const clear = wrapper.find('.mx-clear-wrapper')
clear.trigger('click')
clear.trigger('mousedown')
const emitted = wrapper.emitted()
expect(emitted.input[0][0]).toBe(null)
wrapper.setProps({ value: null })
Expand Down

0 comments on commit 2e06011

Please sign in to comment.