Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a non-prerelease version of @vue/test-utils #425

Closed
sandbergja opened this issue Jul 19, 2023 · 0 comments · Fixed by #426
Closed

Use a non-prerelease version of @vue/test-utils #425

sandbergja opened this issue Jul 19, 2023 · 0 comments · Fixed by #426
Assignees

Comments

@sandbergja
Copy link
Member

sandbergja commented Jul 19, 2023

User story

As a developer, I would like to use the API documented here when writing lux tests, rather than having to figure out the pre-release's API.

Implementation notes

Prior to the 1.0.0 release, @vue/test-utils made a few breaking changes:

  • The "sync mode" was removed in Removing sync mode vuejs/vue-test-utils#1137, meaning that we have to explicitly call nextTick() before checking if something has changed in the DOM
  • transition is no longer automatically stubbed, we have to create our own transitionStub.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant