Skip to content

Commit 9658808

Browse files
Merge pull request #287 from pleerock/feat/test-env
chore: set NODE_ENV to test when running tests
2 parents 1e16427 + 8c6ed3e commit 9658808

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"chai-as-promised": "^6.0.0",
5555
"chakram": "^1.4.0",
5656
"cors": "^2.8.3",
57+
"cross-env": "5.0.5",
5758
"del": "^2.2.1",
5859
"express": "^4.15.2",
5960
"express-session": "^1.15.2",
@@ -89,7 +90,7 @@
8990
"typescript": "^2.2.2"
9091
},
9192
"scripts": {
92-
"test": "gulp tests"
93+
"test": "cross-env NODE_ENV=test gulp tests"
9394
},
9495
"typings": "index.d.ts"
9596
}

0 commit comments

Comments
 (0)