Skip to content

Commit

Permalink
Chrome Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
stonelasley committed Jun 15, 2017
1 parent e3a597b commit 8e782f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var path = require('path');

module.exports = function(config) {
config.set({
var cfg ={
basePath: '',
frameworks: ['jasmine', 'karma-typescript'],
reporters: ['progress', 'karma-typescript'],
Expand Down Expand Up @@ -33,7 +33,7 @@ module.exports = function(config) {
file: 'coverage-final.json'
}]
}
});
};
if (process.env.TRAVIS) {
cfg.browsers = ['Chrome_travis_ci'];
}
Expand Down

0 comments on commit 8e782f4

Please sign in to comment.