diff options
| author | Vojta Jina | 2013-08-21 00:59:45 -0700 | 
|---|---|---|
| committer | Vojta Jina | 2013-08-23 16:49:10 -0700 | 
| commit | c64a9853074a392ba83a0f790b28b3be96c1144a (patch) | |
| tree | e90d7cdf666745e91dbe13a08bf30a07df4987b2 | |
| parent | 7909ebedc2a098f041dd2d3835e7297392bfdb7d (diff) | |
| download | angular.js-c64a9853074a392ba83a0f790b28b3be96c1144a.tar.bz2 | |
chore: use only polling on Travis/SL
| -rw-r--r-- | karma-shared.conf.js | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/karma-shared.conf.js b/karma-shared.conf.js index 727720a4..06f31108 100644 --- a/karma-shared.conf.js +++ b/karma-shared.conf.js @@ -49,4 +49,11 @@ module.exports = function(config) {        }      }    }); + + +  // TODO(vojta): remove once SauceLabs supports websockets. +  // This speeds up the capturing a bit, as browsers don't even try to use websocket. +  if (process.env.TRAVIS) { +    config.transports = ['xhr-polling']; +  }  }; | 
