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