bump vue-test-utils (#1338)

This commit is contained in:
neverland
2018-06-27 11:56:14 +08:00
committed by GitHub
parent 30928595d3
commit 83ab9b1917
35 changed files with 53 additions and 61 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ export default create({
},
created() {
this.$parent && this.$parent.children.push(this);
this.$parent.children && this.$parent.children.push(this);
},
mounted() {
@@ -67,7 +67,7 @@ export default create({
},
destroyed() {
this.$parent && this.$parent.children.splice(this.$parent.children.indexOf(this), 1);
this.$parent.children && this.$parent.children.splice(this.$parent.children.indexOf(this), 1);
},
watch: {
+1 -2
View File
@@ -1,7 +1,6 @@
import Picker from '../';
import PickerColumn from '../PickerColumn';
import { mount } from '@vue/test-utils';
import { triggerDrag } from '../../../test/utils';
import { mount, triggerDrag } from '../../../test/utils';
const simpleColumn = ['1990', '1991', '1992', '1993', '1994', '1995'];
const columns = [