Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 427a32c

Browse files
authored
Run unit tests in "node" environment
1 parent 82a7617 commit 427a32c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"eslint-plugin-import": "^2.8.0",
5959
"eslint-plugin-prettier": "^2.4.0",
6060
"flow-bin": "^0.61.0",
61-
"husky": "^0.15.0-beta.16",
61+
"husky": "^0.14.3",
6262
"lint-staged": "^6.0.0",
6363
"prettier": "^1.9.2"
6464
},
@@ -80,7 +80,7 @@
8080
"lint": "eslint --ignore-path .gitignore --ignore-pattern \"!**/.*\" .",
8181
"fix": "eslint --ignore-path .gitignore --ignore-pattern \"!**/.*\" --fix .",
8282
"check": "flow check",
83-
"test": "jest",
83+
"test": "jest --testEnvironment=node",
8484
"build": "node tools/build.js",
8585
"build-watch": "node tools/build.js --watch",
8686
"db-version": "node tools/db.js version",

0 commit comments

Comments
 (0)