| 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 harmony_flags = '--js-flags="' + [ | 5 var harmony_flags = '--js-flags="' + [ |
| 6 '--harmony-arrow-functions', | 6 '--harmony', |
| 7 '--harmony-classes', | |
| 8 '--harmony-computed-property-names', | |
| 9 '--harmony-spreadcalls', | |
| 10 ].join(' ') + '"'; | 7 ].join(' ') + '"'; |
| 11 | 8 |
| 12 var configuration = { | 9 var configuration = { |
| 13 | 10 |
| 14 // base path that will be used to resolve all patterns (eg. files, exclude) | 11 // base path that will be used to resolve all patterns (eg. files, exclude) |
| 15 basePath: '', | 12 basePath: '', |
| 16 | 13 |
| 17 // frameworks to use | 14 // frameworks to use |
| 18 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter | 15 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter |
| 19 frameworks: ['mocha', 'requirejs', 'chai'], | 16 frameworks: ['mocha', 'requirejs', 'chai'], |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 singleRun: false, | 87 singleRun: false, |
| 91 }; | 88 }; |
| 92 | 89 |
| 93 if (process.env.TRAVIS) { | 90 if (process.env.TRAVIS) { |
| 94 configuration.browsers = ['chrome_canary_travis']; | 91 configuration.browsers = ['chrome_canary_travis']; |
| 95 configuration.autoWatch = false; | 92 configuration.autoWatch = false; |
| 96 } | 93 } |
| 97 | 94 |
| 98 config.set(configuration); | 95 config.set(configuration); |
| 99 }; | 96 }; |
| OLD | NEW |