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

fix(setup): returning render function breaks when extending with an empty object #383

Merged
merged 1 commit into from Jun 16, 2020

Conversation

pikax
Copy link
Member

@pikax pikax commented Jun 15, 2020

fix #151

Fix the bug when returning render function: Vue.extend(Comp).extend({}) - vue-test-utils

The bug is caused because we try to merge the function with an empty object.

vuejs/vue-test-utils#1512 can be reopen and merged after we release this
also fix vuejs/vue-test-utils#1484

@pikax pikax requested a review from antfu June 15, 2020 18:49
Copy link
Member

@antfu antfu left a comment

Choose a reason for hiding this comment

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

👍

@antfu antfu merged commit ce932bf into vuejs:master Jun 16, 2020
@lmiller1990
Copy link
Member

Great! Does this mean that this will now work as expected without any changes to VTU?

@pikax
Copy link
Member Author

pikax commented Jun 16, 2020

Yes, this should make it work without any changes to VTU

@LeBenLeBen
Copy link

Thank you very much for taking the time to fix this! 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants