Skip to content

Conversation

@lmiller1990
Copy link
Member

@lmiller1990 lmiller1990 commented Oct 27, 2020

resolves #158

Also found a problem with types, see ts-ignore. We don't have any types for functional components. Man, Vue component definitions are complex, and there are many.

I also bumped a bunch of dependencies.

src/mount.ts Outdated
// >(
// originalComponent: TestedComponent,
// options?: MountingOptions<Props>
// ): VueWrapper<ComponentPublicInstance<Props>>
Copy link
Member

Choose a reason for hiding this comment

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

Is this commented code still here on purpose? Should it be removed or uncommented? Maybe add an explanation if we want to keep it around.

Copy link
Member

Choose a reason for hiding this comment

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

I forgot to remove it

Copy link
Member Author

Choose a reason for hiding this comment

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

I will remove it

@lmiller1990 lmiller1990 merged commit 958b91b into master Oct 29, 2020
@lmiller1990 lmiller1990 deleted the issue-158-functional-emits branch October 29, 2020 23:09
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.

emitted cannot capture events for for functional components

4 participants