| 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', | 6 '--harmony', |
| 7 ].join(' ') + '"'; | 7 ].join(' ') + '"'; |
| 8 | 8 |
| 9 var configuration = { | 9 var configuration = { |
| 10 | 10 |
| 11 // 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) |
| 12 basePath: '', | 12 basePath: '', |
| 13 | 13 |
| 14 // frameworks to use | 14 // frameworks to use |
| 15 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter | 15 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter |
| 16 frameworks: ['mocha', 'requirejs', 'chai'], | 16 frameworks: ['mocha', 'requirejs', 'chai'], |
| 17 | 17 |
| 18 // list of files / patterns to load in the browser | 18 // list of files / patterns to load in the browser |
| 19 files: [ | 19 files: [ |
| 20 'lib/runtime/dart_*.js', | 20 'lib/runtime/dart_*.js', |
| 21 'lib/runtime/_*.js', | |
| 22 'lib/runtime/dart/*.js', | 21 'lib/runtime/dart/*.js', |
| 23 // {pattern: 'test/browser/*.js', included: false} | 22 // {pattern: 'test/browser/*.js', included: false} |
| 24 'test/codegen/expect/async_helper/async_helper.js', | 23 'test/codegen/expect/async_helper/async_helper.js', |
| 25 'test/codegen/expect/dom/dom.js', | 24 'test/codegen/expect/dom/dom.js', |
| 26 'test/codegen/expect/expect/expect.js', | 25 'test/codegen/expect/expect/expect.js', |
| 27 'test/codegen/expect/matcher/matcher.js', | 26 'test/codegen/expect/matcher/matcher.js', |
| 28 'test/codegen/expect/matcher/src/*.js', | 27 'test/codegen/expect/matcher/src/*.js', |
| 29 'test/codegen/expect/unittest/unittest.js', | 28 'test/codegen/expect/unittest/unittest.js', |
| 30 'test/codegen/expect/syncstar_syntax.js', | 29 'test/codegen/expect/syncstar_syntax.js', |
| 31 'test/codegen/expect/language-all.js', | 30 'test/codegen/expect/language-all.js', |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 configuration.browsers = ['chrome_canary_travis', 'Electron']; | 96 configuration.browsers = ['chrome_canary_travis', 'Electron']; |
| 98 configuration.autoWatch = false; | 97 configuration.autoWatch = false; |
| 99 // Enable this for more logging on Travis. It is too much for Travis to | 98 // Enable this for more logging on Travis. It is too much for Travis to |
| 100 // automatically display, but still results in a downloadable raw log. | 99 // automatically display, but still results in a downloadable raw log. |
| 101 // configuration.logLevel = config.LOG_DEBUG; | 100 // configuration.logLevel = config.LOG_DEBUG; |
| 102 configuration.client.captureConsole = true; | 101 configuration.client.captureConsole = true; |
| 103 } | 102 } |
| 104 | 103 |
| 105 config.set(configuration); | 104 config.set(configuration); |
| 106 }; | 105 }; |
| OLD | NEW |