We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bca322 commit cbad889Copy full SHA for cbad889
.babelrc
@@ -0,0 +1,3 @@
1
+{
2
+ "presets":["@babel/env", "@babel/typescript"]
3
+}
package.json
@@ -40,7 +40,7 @@
40
"scripts": {
41
"start": "react-scripts start",
42
"build": "react-scripts build",
43
- "test": "react-scripts test",
+ "test": "jest",
44
"eject": "react-scripts eject"
45
},
46
"eslintConfig": {
@@ -61,5 +61,20 @@
61
"keymirror": "^0.1.1",
62
"redux-logger": "^3.0.6",
63
"tslint": "^5.13.1"
64
+ },
65
+ "jest": {
66
+ "moduleFileExtensions": [
67
+ "js",
68
+ "jsx",
69
+ "json",
70
+ "ts"
71
+ ],
72
+ "testMatch": [
73
+ "**/__tests__/**/*.(js|ts)?(x)",
74
+ "**/?(*.)(spec|test).(js|ts)?(x)"
75
76
+ "transform": {
77
+ "^.+\\.tsx?$": "babel-jest"
78
+ }
79
}
80
0 commit comments