vue-jest
vue-jest copied to clipboard
Missing features? roadmap to feature parity?
As per the official docs:
We have created the vue-jest preprocessor which can handle most common SFC features, but it currently does not have 100% feature parity with vue-loader.
- What are the missing features? As per the README, CSS support seems to be one. Any others? This also opens up the question of which test runner is recommended for different apps.
- Is there a roadmap for having
vue-jest
have 100% feature parity withvue-loader
?
There's no plan to reach 100% feature parity with vue-loader, for these two reasons:
- Custom blocks
- Style
vue-jest doesn't support custom blocks. There's no plan to transform custom blocks explicitly in vue-jest, although we might add an option to pass in custom transformers.
vue-jest also doesn't fully support styles. We compile style blocks with vue-component-compiler-utils, and add class names to the $style
object, but we don't inject inline styles, and we don't plan to.
@frankandrobot https://github.com/vuejs/vue-jest/issues/116#issuecomment-486851364
Not sure if this is the best place to ask this question: is there any estimate of v4.0 release? It seems version 3.4 is not handling babel.config.js returning function any more, switching to 4.0beta solves quite a lot of issues.