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 7414c0e commit 920d991Copy full SHA for 920d991
package.json
@@ -14,7 +14,18 @@
14
"format": "prettier --write 'src/**'",
15
"lint": "tsc; tslint -p ./",
16
"precommit": "pretty-quick --staged",
17
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "jest"
18
+ },
19
+ "jest": {
20
+ "transform": {
21
22
+ "testMatch": [
23
+ "**/src/**/?*.spec.js"
24
+ ],
25
+ "moduleFileExtensions": [
26
+ "js",
27
+ "json"
28
+ ]
29
},
30
"dependencies": {},
31
"devDependencies": {
@@ -23,6 +34,7 @@
34
"@babel/preset-env": "^7.0.0-beta.54",
35
"@babel/preset-typescript": "^7.0.0-beta.54",
36
"husky": "^0.14.3",
37
+ "jest": "^23.4.1",
38
"prettier": "^1.13.7",
39
"pretty-quick": "^1.6.0",
40
"rimraf": "^2.6.2",
0 commit comments