fix(transition): respect rules in *-leave-from transition class (#2597)
fix #2593
This commit is contained in:
@@ -1305,9 +1305,10 @@ describe('e2e: Transition', () => {
|
||||
await classWhenTransitionStart()
|
||||
await nextFrame()
|
||||
expect(await html('#container')).toBe(
|
||||
'<div class="test v-leave-active v-leave-to">one</div>'
|
||||
'<div class="test v-leave-active v-leave-to" style="">one</div>'
|
||||
)
|
||||
await transitionFinish()
|
||||
await nextFrame()
|
||||
expect(await html('#container')).toBe(
|
||||
'<div class="test v-enter-active v-enter-to">two</div>'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user