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

WIP feat(test-utils): support returning render function from setup #1512

Closed
wants to merge 1 commit into from

Conversation

lmiller1990
Copy link
Member

vuejs/composition-api#151
#1484

4 tests still failing but a good proof of concept.

@lmiller1990
Copy link
Member Author

This is probably impossible w/o changing how we do stubs.

@lmiller1990
Copy link
Member Author

Will be fixed in vuejs/composition-api#383

@@ -22,6 +22,10 @@ export default function mount(component, options = {}) {

const _Vue = createLocalVue(options.localVue)

if (component.setup) {
Copy link
Member

Choose a reason for hiding this comment

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

This shouldn't be required

@lmiller1990 lmiller1990 deleted the composition-api-setup branch June 16, 2020 09:27
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

2 participants