vire / jest-vue-preprocessor

Preprocessor that allows importing of .vue files in jest tests
MIT License
130 stars 27 forks source link

fix: add missing dependencies #177

Open merceyz opened 4 years ago

merceyz commented 4 years ago

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

jest-vue-preprocessor is trying to use @babel/template, @babel/core, and pug without declaring them as dependencies. This causes it to rely on the user to install them and hoisting to make them available which is not guaranteed

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No