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

feat: Adds style injection for modules in functional components. #92

Merged
merged 1 commit into from May 22, 2018

Conversation

jeremyzahner
Copy link
Contributor

@jeremyzahner jeremyzahner commented May 18, 2018

This PR should fix vue-jest's behavior concerning style injection with modules on functional components.

Edit: We've added this branch to a current project and tested it's fixes together with a lot of functional components.

@@ -0,0 +1,25 @@
<template>
Copy link
Member

Choose a reason for hiding this comment

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

This isn't a functional component

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! Sorry for that. Should be fixed in 4ecb707.

Copy link
Member

@eddyerburgh eddyerburgh left a comment

Choose a reason for hiding this comment

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

Thanks Jeremy :)

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