File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments