Skip to content

Remove TransitionStub / TransitionGroupStub from docs #1367

Closed
@FloEdelmann

Description

@FloEdelmann

They were removed without further notice in beta 30, but the docs are not updated. It took me quite some time to figure out that they don't exist anymore, and how to fix my failing test:

<transition name="toast">
    <div v-if="visible" class="toast">...</div>
</transition>
toastElement.querySelector('.close').click()
await wrapper.vm.$nextTick()

toastElement = document.querySelector('.toast')
expect(toastElement).to.equal(null)

Test fails; there is a .toast element with .toast-leave-active class.

Replacing the nextTick with await new Promise(resolve => setTimeout(resolve, 5)) works, but doesn't look like it's safe against race conditions.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions