| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 base: 'Chrome', | 76 base: 'Chrome', |
| 77 flags: [ '--no-sandbox' ] | 77 flags: [ '--no-sandbox' ] |
| 78 }, | 78 }, |
| 79 | 79 |
| 80 chrome_canary_travis: { | 80 chrome_canary_travis: { |
| 81 base: 'ChromeCanary', | 81 base: 'ChromeCanary', |
| 82 flags: [ '--no-sandbox' ] | 82 flags: [ '--no-sandbox' ] |
| 83 }, | 83 }, |
| 84 }, | 84 }, |
| 85 | 85 |
| 86 browsers: ['ChromeCanary', 'Electron'], | 86 browsers: ['Chrome'], |
| 87 | 87 |
| 88 // Continuous Integration mode | 88 // Continuous Integration mode |
| 89 // if true, Karma captures browsers, runs the tests and exits | 89 // if true, Karma captures browsers, runs the tests and exits |
| 90 singleRun: false, | 90 singleRun: false, |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 if (process.env.TRAVIS) { | 93 if (process.env.TRAVIS) { |
| 94 configuration.browsers = ['chrome_canary_travis']; | 94 configuration.browsers = ['chrome_canary_travis']; |
| 95 configuration.autoWatch = false; | 95 configuration.autoWatch = false; |
| 96 // Enable this for more logging on Travis. It is too much for Travis to | 96 // Enable this for more logging on Travis. It is too much for Travis to |
| 97 // automatically display, but still results in a downloadable raw log. | 97 // automatically display, but still results in a downloadable raw log. |
| 98 // configuration.logLevel = config.LOG_DEBUG; | 98 // configuration.logLevel = config.LOG_DEBUG; |
| 99 configuration.client.captureConsole = true; | 99 configuration.client.captureConsole = true; |
| 100 } | 100 } |
| 101 | 101 |
| 102 config.set(configuration); | 102 config.set(configuration); |
| 103 }; | 103 }; |
| OLD | NEW |