-
Notifications
You must be signed in to change notification settings - Fork 157
Tagged template strings are not supported #98
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
Comments
@mjss did you manage to solve this somehow?
The error is coming from an |
@danrocha No I didn't resolve this issue back then. I am not sure whether the newer versions of |
@danrocha I'm in the same boat as you - trying to test components that use |
No, I gave up on the apollo components a while ago! |
Hey, I've added a fix (or rather - I've extended the If you want to use it in your project where you have
|
If tagged template strings are used, test suit will fail with following error:
Apparently, this error message is from
buble.js
.It seems that
vue-jest
usesvue-template-es2015-compiler
, andvue-template-es2015-compiler
usesbuble
.But neither
vue-jest
norvue-template-es2015-compiler
explains whether it is necessary and how to configurebuble
.Is it possible to resolve this in
vue-jest
?Any fixes or explanations are appreciated. Thank you.
I created a sample project to illustrate the issue. Steps to reproduce:
npm test:unit
The text was updated successfully, but these errors were encountered: