lib/generators/vue/vue_generator.rb in vuejs-1.1.0.beta3 vs lib/generators/vue/vue_generator.rb in vuejs-1.1.0.beta4
- old
+ new
@@ -35,9 +35,12 @@
private
def add_tests_to_component name
template "tests/unit.test.js.erb", "#{TESTS_PATH}/#{name}.test.js"
+
+ say "adding vue-test-utils and other Jest dependencies"
+ run "yarn add @vue/test-utils jest-serializer-vue vue-jest babel-jest"
end
def add_helpers_to_component name
run "yarn add vue-form-for"