Skip to content

Commit

Permalink
fix(test): set NODE_ENV correctly for tests and add missing OAuth params
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSputnik committed Jun 10, 2017
1 parent 8067fdd commit eedc465
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/testing.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"clientID": "f8accd51-33d2-4d9b-a2c1-c01a76a4f096"
},
"musicbrainz": {
"clientID": "",
"clientSecret": "",
"clientID": "y0dHLdQC2CAXbGvZa4IbZm",
"clientSecret": "M0PFECp7vPYW9Vn4kB4L2B",
"callbackURL": "http://localhost:9099/cb"
},
"session": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"debug": "npm run watch-less & npm run watch-client-js & npm run watch-server-js",
"lint": "eslint src test templates",
"lint-errors": "eslint --quiet src test templates",
"test": "npm run lint && npm run prestart && mocha --compilers js:babel-core/register",
"test": "npm run lint && npm run prestart && cross-env NODE_ENV=testing mocha --compilers js:babel-core/register",
"test-cov": "cross-env BABEL_ENV=cov nyc --require=babel-register --source-maps=false --instrument=false npm run test",
"test-ci": "cross-env BABEL_ENV=cov nyc --require=babel-register --source-maps=false --instrument=false --report=lcovonly npm test",
"test-lib": "npm run lint && npm run prestart && cross-env TEST_LIB=1 mocha --compilers js:babel-core/register",
Expand Down

0 comments on commit eedc465

Please sign in to comment.