Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
38elements committed May 27, 2018
1 parent 269b7e1 commit be90415
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/test-utils/src/set-watchers-to-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export function setWatchersToSync (vm) {

vm.$children.forEach(setWatchersToSync)

// preventing double registration
if (!vm.$_vueTestUtils_updateInSetWatcherSync) {
vm.$_vueTestUtils_updateInSetWatcherSync = vm._update
vm._update = function (vnode, hydrating) {
Expand Down

0 comments on commit be90415

Please sign in to comment.