-
Notifications
You must be signed in to change notification settings - Fork 157
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
Add compilerOptions when processing the template, on v5.0.0-alpha.10 #493
Comments
Hi, docs are dated - a PR would be great. You probably want Eg Vue 3 and Jest 29 => |
@kazvaggos What did you end up doing for this? We tried to set the compilerOptions too, but that doesn't seem to do anything 🤔
Using: |
Hello team. With my team we are migrating from Vue2 to Vue3. We are using Jest v26.6.3, and we upgraded to vue-jest v5.0.0-alpha.10, as you propose on the docs.
However, we noticed that vue-jest in this version ignores the compilerOptions that we set through globals. We would like to add the option
whitespace: 'preserve'
because this is the way that we need to set the whitespace in our webpack config, and we would like the generated snapshots to match the compiled html.Is it possible in template processing to add a complierOptions override? Or is there another workaround?
The suggested change is the following:
Thanks in advance.
The text was updated successfully, but these errors were encountered: