Closed
Description
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.
// ...
const wrapper = mount({
components: { 'test-component': TestComponent },
template: '<test-component />'
});
// ...
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
Metadata
Metadata
Assignees
Labels
No labels