Skip to content

Commit

Permalink
chore(ci): tests shall pass! (#3205)
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin authored Dec 6, 2017
1 parent 671d573 commit 4131489
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ module.exports = function (config) {
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
browserNoActivityTimeout: 20000,
browserDisconnectTolerance: 2,
browserDisconnectTimeout: 5000,
singleRun: false,
customLaunchers: {
Chrome_travis_ci: {
Expand All @@ -54,7 +57,7 @@ module.exports = function (config) {
};

if (process.env.TRAVIS) {
configuration.browsers = ['Firefox'];
configuration.browsers = ['Chrome_travis_ci'];
}

if (process.env.SAUCE) {
Expand All @@ -70,8 +73,6 @@ module.exports = function (config) {
singleRun: false,
concurrency: 2,
captureTimeout: 60000,
browserNoActivityTimeout: 20000,
browserDisconnectTimeout: 5000,
sauceLabs: {
testName: 'ngx-bootstrap',
build: process.env.TRAVIS_JOB_NUMBER,
Expand Down

0 comments on commit 4131489

Please sign in to comment.