Skip to content

Commit

Permalink
Add test:watch command back in
Browse files Browse the repository at this point in the history
  • Loading branch information
mxstbr committed Jan 25, 2016
1 parent 0eca8c2 commit 3d9cf9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"lint:staged": "eslint-staged",
"pretest": "npm run lint",
"test": "NODE_ENV=test karma start webpack/karma.conf.js --single-run",
"test:watch": "npm run test -- --auto-watch --no-single-run",
"test:firefox": "npm run test -- --browsers Firefox",
"test:safari": "npm run test -- --browsers Safari",
"test:ie": "npm run test -- --browsers IE",
Expand Down
4 changes: 2 additions & 2 deletions webpack/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ module.exports = function(config) {
? ['ChromeTravis']
: ['Chrome'],

autoWatch: process.env.TRAVIS ? false : true,
singleRun: process.env.TRAVIS ? true : false,
autoWatch: false,
singleRun: true,

files: [
'../app/**/*.test.js'
Expand Down

0 comments on commit 3d9cf9a

Please sign in to comment.