Closed last-partizan closed 2 years ago
I am using
"@vue/test-utils": "^1.3.0",
"vue": "2.7.0",
"vue-template-compiler": "2.7.0"
And I can run my tests fine, can you try to equalise the dependencies?
If that doesn't work try this in your package.json
(if you are using yarn)
"resolutions": {
"vue": "2.7.0",
"vue-template-es2015-compiler": "npm:vue-template-babel-compiler@1.2.0",
"vue-template-babel-compiler": "npm:vue-template-babel-compiler@1.2.0"
}
I think we still need to have vue-template-compiler installed for test cases
Yeah, i updated everything to compatible versions and it works.
Thanks!
Hello
According to Vue 2.7 is Now in Beta vue-2.7 does not use
vue-template-compiler
anymore.And when running jest (with
@vue/vue2-jest
), it crashes with following message:Can you please add support for vue 2.7?