Skip to content

Commit

Permalink
Set NODE_ENV=test when testing
Browse files Browse the repository at this point in the history
This tells dbclient not to attempt to connect to elasticsearch
  • Loading branch information
orangejulius committed Jul 18, 2017
1 parent 5f3336d commit ed2e4c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
"download": "node utils/download_data.js",
"import": "npm start",
"parallel": "./bin/parallel",
"test": "npm run units",
"test": "NODE_ENV=test npm run units",
"units": "node test/test.js | tap-spec",
"functional": "node test/functional.js | tap-spec",
"functional": "NODE_ENV=test node test/functional.js | tap-spec",
"lint": "jshint .",
"validate": "npm ls",
"travis": "npm run check-dependencies && npm run test && npm run functional",
Expand Down

0 comments on commit ed2e4c2

Please sign in to comment.