You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When unit testing Vue components, it is often necessary to call await vm.$nextTick() to ensure the rerender is completed before accessing the component's DOM for assertion.
As far as I understand, mobx-vue triggers the rerender directly, and has nothing to do with Vue's Async Update Queue. Therefore vm.$nextTick would not work for mobx-vue.
So the question is how would one do the same thing as nextTick with mobx-vue?
The text was updated successfully, but these errors were encountered:
When unit testing Vue components, it is often necessary to call
await vm.$nextTick()
to ensure the rerender is completed before accessing the component's DOM for assertion.As far as I understand,
mobx-vue
triggers the rerender directly, and has nothing to do with Vue's Async Update Queue. Thereforevm.$nextTick
would not work for mobx-vue.So the question is how would one do the same thing as
nextTick
withmobx-vue
?The text was updated successfully, but these errors were encountered: