Skip to content
This repository has been archived by the owner on Jun 30, 2019. It is now read-only.

Commit

Permalink
Explicitly set NODE_ENV to test for frontend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgathuku committed Jul 16, 2016
1 parent a43be85 commit 686dfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prestart": "./node_modules/.bin/migrate",
"dev-server": "babel-node index.js",
"start": "nodemon index.js",
"test:fend": "nyc --reporter=text mocha ./test/helpers/browser.js app/**/*-test.js",
"test:fend": "NODE_ENV='test' nyc --reporter=text mocha ./test/helpers/browser.js app/**/*-test.js",
"test:bend": "NODE_ENV='test' babel-node spec/run.js",
"test": "NODE_ENV='test' npm run coverage && npm run test:fend",
"coverage": "nyc --require babel-core/register npm run test:bend && nyc report --reporter=text-lcov | coveralls",
Expand Down

0 comments on commit 686dfe0

Please sign in to comment.