Skip to content

Commit 75b7176

Browse files
committed
fix: remove console.log
1 parent 8b3e7f9 commit 75b7176

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/create-instance/create-instance.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ export default function createInstance(
7171
// used to identify extended component using constructor
7272
componentOptions.$_vueTestUtils_original = component
7373

74-
// make sure all extends are based on this instance
75-
76-
if (instanceOptions.watch) {
77-
console.log(instanceOptions.watch)
78-
}
79-
8074
// watchers provided in mounting options should override preexisting ones
8175
if (componentOptions.watch && instanceOptions.watch) {
8276
const componentWatchers = Object.keys(componentOptions.watch)
@@ -91,6 +85,7 @@ export default function createInstance(
9185
}
9286
}
9387

88+
// make sure all extends are based on this instance
9489
const Constructor = _Vue.extend(componentOptions).extend(instanceOptions)
9590
componentOptions._Ctor = {}
9691
Constructor.options._base = _Vue

0 commit comments

Comments
 (0)