Skip to content

Commit

Permalink
ts-jestの新バージョンを使うように
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Apr 5, 2020
1 parent c566103 commit 2ca902e
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 15 deletions.
6 changes: 5 additions & 1 deletion jest.config.js
@@ -1,3 +1,7 @@
module.exports = {
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel'
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
// 下の文とts-jestのdependencyはts-jestのバージョンがあがれば取り除ける
transform: {
'^.+\\.tsx?$': require.resolve('ts-jest')
}
}
112 changes: 98 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -57,6 +57,7 @@
"prettier": "^2.0.2",
"sass": "^1.26.3",
"sass-loader": "^8.0.2",
"ts-jest": "^25.3.1",
"typescript": "^3.8.3",
"vue-svg-loader": "^0.16.0",
"vue-template-compiler": "^2.6.11"
Expand Down

0 comments on commit 2ca902e

Please sign in to comment.