[bugfix] Icon: assets spelling (#1465)
This commit is contained in:
@@ -162,9 +162,11 @@ export default create({
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
if (this.type === 'search' && event.keyCode === 13) {
|
||||
this.blur();
|
||||
}
|
||||
|
||||
this.$emit('keypress', event);
|
||||
},
|
||||
|
||||
|
||||
@@ -32,11 +32,7 @@ test('function call', done => {
|
||||
triggerDrag(swipe, 0, 0);
|
||||
|
||||
expect(wrapper.querySelectorAll('img').length).toEqual(1);
|
||||
|
||||
Vue.nextTick(() => {
|
||||
expect(wrapper.style.display).toEqual('none');
|
||||
done();
|
||||
});
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user