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

[T] Upgrade vue-test-utils #400

Merged

Conversation

viniciuskneves
Copy link
Contributor

This PR addresses: #232

I do also recommend you to read the official changelogs: https://github.com/vuejs/vue-test-utils/releases


All in all it tackles the following breaking change: vuejs/vue-test-utils#1137

I've also removed some tests, refactored others and cleaned up a bit.

I've also introduced the same wrapperFactoryBuilder that we're using in Realtor App. Its API maps to mount/shallowMount and instead of using propsData you just use props. I'm creating the wrapper inside each test to avoid calling await wrapper.vm.$nextTick() a lot of times.

@viniciuskneves
Copy link
Contributor Author

Yes, coverage dropped =]

I can work on improving it in another PR if you agree.

Copy link
Contributor

@ilyasmez ilyasmez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of 🍪 for updating vue-test-utils!
This one will be hard to review file by file, so I'll have to trust you :D

@viniciuskneves
Copy link
Contributor Author

@homeday-de/frontend-engineering May I proceed here?

@viniciuskneves
Copy link
Contributor Author

image

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 this pull request may close these issues.

None yet

4 participants