Skip to content

Commit 5f7ed67

Browse files
committed
fixed some warning when testing
1 parent 9172f6f commit 5f7ed67

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"build-bin": "electron-builder -mwl",
7474
"test": "cross-env NODE_ENV=test jest --verbose",
7575
"test:clear": "cross-env NODE_ENV=test jest --clearCache",
76+
"test:update-snap": "cross-env NODE_ENV=test jest --updateSnapshot",
7677
"linter": "eslint src",
7778
"develop": "concurrently \"npm run dev\" \"npm run electron\""
7879
},
@@ -92,7 +93,7 @@
9293
"js"
9394
],
9495
"transform": {
95-
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
96+
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest"
9697
},
9798
"testRegex": "/__tests__/.*\\.(ts|tsx|js)$",
9899
"globals": {
@@ -184,7 +185,7 @@
184185
"extract-text-webpack-plugin": "^4.0.0-beta.0",
185186
"html-webpack-plugin": "^3.1.0",
186187
"identity-obj-proxy": "^3.0.0",
187-
"jest": "^23.6.0",
188+
"jest": "^25.2.6",
188189
"node-sass": "^4.13.1",
189190
"postcss-loader": "^2.1.6",
190191
"redux-mock-store": "^1.5.4",

0 commit comments

Comments
 (0)