OLD | NEW |
1 // Karma configuration | 1 // Karma configuration |
2 // Generated on Mon Apr 20 2015 06:33:20 GMT-0700 (PDT) | 2 // Generated on Mon Apr 20 2015 06:33:20 GMT-0700 (PDT) |
3 | 3 |
4 module.exports = function(config) { | 4 module.exports = function(config) { |
5 var configuration = { | 5 var configuration = { |
6 | 6 |
7 // base path that will be used to resolve all patterns (eg. files, exclude) | 7 // base path that will be used to resolve all patterns (eg. files, exclude) |
8 basePath: '', | 8 basePath: '', |
9 | 9 |
10 // frameworks to use | 10 // frameworks to use |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 port: 9876, | 46 port: 9876, |
47 | 47 |
48 // enable / disable colors in the output (reporters and logs) | 48 // enable / disable colors in the output (reporters and logs) |
49 colors: true, | 49 colors: true, |
50 | 50 |
51 // level of logging | 51 // level of logging |
52 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WAR
N || config.LOG_INFO || config.LOG_DEBUG | 52 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WAR
N || config.LOG_INFO || config.LOG_DEBUG |
53 logLevel: config.LOG_DEBUG, | 53 logLevel: config.LOG_DEBUG, |
54 | 54 |
55 // enable / disable watching file and executing tests whenever any file chan
ges | 55 // enable / disable watching file and executing tests whenever any file chan
ges |
56 autoWatch: false, | 56 autoWatch: true, |
57 | 57 |
58 // start these browsers | 58 // start these browsers |
59 // available browser launchers: https://npmjs.org/browse/keyword/karma-launc
her | 59 // available browser launchers: https://npmjs.org/browse/keyword/karma-launc
her |
60 | 60 |
61 // FIXME(vsm): Once harmony is on by default, we can simply add the followin
g: | 61 // FIXME(vsm): Once harmony is on by default, we can simply add the followin
g: |
62 // browsers: ['Chrome'], | 62 // browsers: ['Chrome'], |
63 // and remove the custom launchers. | 63 // and remove the custom launchers. |
64 customLaunchers: { | 64 customLaunchers: { |
65 chrome_harmony: { | 65 chrome_harmony: { |
66 base: 'Chrome', | 66 base: 'Chrome', |
(...skipping 16 matching lines...) Expand all Loading... |
83 // if true, Karma captures browsers, runs the tests and exits | 83 // if true, Karma captures browsers, runs the tests and exits |
84 singleRun: false, | 84 singleRun: false, |
85 }; | 85 }; |
86 | 86 |
87 if (process.env.TRAVIS) { | 87 if (process.env.TRAVIS) { |
88 configuration.browsers = ['chrome_travis']; | 88 configuration.browsers = ['chrome_travis']; |
89 } | 89 } |
90 | 90 |
91 config.set(configuration); | 91 config.set(configuration); |
92 }; | 92 }; |
OLD | NEW |