Skip to content

Commit

Permalink
fix(jest): add @types/jest to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gmq committed Jul 26, 2022
1 parent 3d833a8 commit 87bdff0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/potassium/recipes/front_end.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def setup_jest
run "bin/yarn add jest@#{JEST_VERSION} @vue/vue3-jest@#{JEST_VERSION} "\
"babel-jest@#{JEST_VERSION} @vue/test-utils@#{VUE_TEST_UTILS_VERSION} ts-jest@#{JEST_VERSION} "\
"jest-environment-jsdom@#{JEST_VERSION} --dev"
run "bin/yarn add @types/jest@#{JEST_VERSION}"
json_file = File.read(Pathname.new("package.json"))
js_package = JSON.parse(json_file)
js_package = js_package.merge(jest_config)
Expand Down

0 comments on commit 87bdff0

Please sign in to comment.