Skip to content

Commit

Permalink
input wasn't self closing in a new test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelschufi committed Jun 12, 2018
1 parent 39510e6 commit 67d94e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ describe('functionnal tests', () => {
})

it('does trigger events when only the parent element gets matched by one item in the prevent list', () => {
const vm = new VM('<div @shortkey="foo" v-shortkey="[\'b\']" class="disableshortkey"><input></input></div>')
const vm = new VM('<div @shortkey="foo" v-shortkey="[\'b\']" class="disableshortkey"><input type="text" /></div>')
vm.$mount(createDiv())

const input = vm.$el.querySelector('input')
Expand Down

0 comments on commit 67d94e4

Please sign in to comment.