Skip to content

Commit

Permalink
Use --recursive to run nested test files
Browse files Browse the repository at this point in the history
Closes #303
  • Loading branch information
kunalkapadia committed Feb 19, 2017
1 parent 85777d4 commit 5c45ae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -17,9 +17,9 @@
"lint": "esw *.js server config --color",
"lint:watch": "yarn lint -- --watch",
"precommit": "yarn lint && yarn test",
"test": "cross-env NODE_ENV=test ./node_modules/.bin/mocha --ui bdd --reporter spec --colors --compilers js:babel-core/register ./server/**/*.test.js",
"test": "cross-env NODE_ENV=test ./node_modules/.bin/mocha --ui bdd --reporter spec --colors --compilers js:babel-core/register server/tests --recursive",
"test:watch": "yarn test -- --watch",
"test:coverage": "cross-env NODE_ENV=test ./node_modules/.bin/istanbul cover _mocha -- --ui bdd --reporter spec --colors --compilers js:babel-core/register ./server/**/*.test.js",
"test:coverage": "cross-env NODE_ENV=test ./node_modules/.bin/istanbul cover _mocha -- --ui bdd --reporter spec --colors --compilers js:babel-core/register server/tests --recursive",
"test:check-coverage": "yarn test:coverage && istanbul check-coverage",
"report-coverage": "coveralls < ./coverage/lcov.info"
},
Expand Down

0 comments on commit 5c45ae5

Please sign in to comment.