Skip to content

Commit

Permalink
🔧 Always use single run on test script
Browse files Browse the repository at this point in the history
  • Loading branch information
gluons committed Nov 18, 2017
1 parent a3c454b commit 9d9319d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module.exports = function (config) {

// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: process.env.CI ? true : false,
singleRun: false,

// Concurrency level
// how many browser should be started simultaneous
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dev": "poi",
"sync:db": "ts-node ./scripts/sync-db.ts",
"sync": "cross-env TS_NODE_COMPILER_OPTIONS={\\\"module\\\":\\\"commonjs\\\"} npm-run-all sync:*",
"test:single": "npm run lint && karma start --single-run",
"test:watch": "npm run lint && karma start --no-single-run",
"test": "npm run lint && karma start"
},
"repository": {
Expand Down

0 comments on commit 9d9319d

Please sign in to comment.