Using setData
with array does not trigger watchers or update the view
#605
Labels
setData
with array does not trigger watchers or update the view
#605
Version
1.0.0-beta.16
Reproduction link
https://github.com/tbuteler/vue-test-utils-issue
Steps to reproduce
Clone the repository, then run:
What is expected?
Component:
Test:
After doing
setData
I expected the HTML to be updated and the watcher (which setsloaded
totrue
) to be run.What is actually happening?
Although the
wrapper.vm.items
property yields what I just set, no updates are triggered on the wrapper and the tests fail.Test passes in 1.0.0-beta.15.
The text was updated successfully, but these errors were encountered: