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
Then update data in wrapper (or trigger an action) that will update transition state.
What is expected?
transition component works synchronously - test pass
What is actually happening?
transition component works asynchronously and element styles equals to "display: none" - test fail
May be it's not the best way - mount testing component by template in configuration, but in a production app I want to test how component works with v-model and updates parent state
The text was updated successfully, but these errors were encountered:
Also it seems like not working when <transition> in an importing component. For example: if I test a HOC which renders another component with a transition, transition works asynchronously (transitionStub doesn't apply).
Adding stubs: { transition: TransitionStub } in mount doesn't help.
Version
1.0.0-beta.15
Reproduction link
https://github.com/denisinvader/vtu-transition-issue/tree/master
Steps to reproduce
Use the transition in any component. Then tests mount this component by template.
Then update data in wrapper (or trigger an action) that will update transition state.
What is expected?
transition component works synchronously - test pass
What is actually happening?
transition component works asynchronously and element styles equals to "display: none" - test fail
May be it's not the best way - mount testing component by template in configuration, but in a production app I want to test how component works with v-model and updates parent state
The text was updated successfully, but these errors were encountered: