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 // {pattern: 'test/browser/*.js', included: false} | 17 // {pattern: 'test/browser/*.js', included: false} |
18 'gen/codegen_output/pkg/*.js', | 18 'gen/codegen_output/pkg/*.js', |
19 'gen/codegen_output/language/**.js', | 19 'gen/codegen_output/language/**.js', |
20 'gen/codegen_output/language/**.err', | 20 'gen/codegen_output/language/**.err', |
21 'gen/codegen_output/corelib/**.js', | 21 'gen/codegen_output/corelib/**.js', |
22 'gen/codegen_output/corelib/**.err', | 22 'gen/codegen_output/corelib/**.err', |
23 'gen/codegen_output/lib/convert/**.js', | 23 'gen/codegen_output/lib/convert/**.js', |
24 'gen/codegen_output/lib/html/**.js', | 24 'gen/codegen_output/lib/html/**.js', |
25 'gen/codegen_output/lib/math/**.js', | 25 'gen/codegen_output/lib/math/**.js', |
| 26 'gen/codegen_output/lib/mirrors/**.js', |
26 'gen/codegen_output/lib/typed_data/**.js', | 27 'gen/codegen_output/lib/typed_data/**.js', |
27 'gen/codegen_output/lib/*/**.err', | 28 'gen/codegen_output/lib/*/**.err', |
28 'test/browser/*.js', | 29 'test/browser/*.js', |
29 'test-main.js', | 30 'test-main.js', |
30 ], | 31 ], |
31 | 32 |
32 // list of files to exclude | 33 // list of files to exclude |
33 exclude: [ | 34 exclude: [ |
34 ], | 35 ], |
35 | 36 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 configuration.browsers = ['chrome_canary_travis']; | 93 configuration.browsers = ['chrome_canary_travis']; |
93 configuration.autoWatch = false; | 94 configuration.autoWatch = false; |
94 // Enable this for more logging on Travis. It is too much for Travis to | 95 // Enable this for more logging on Travis. It is too much for Travis to |
95 // automatically display, but still results in a downloadable raw log. | 96 // automatically display, but still results in a downloadable raw log. |
96 // configuration.logLevel = config.LOG_DEBUG; | 97 // configuration.logLevel = config.LOG_DEBUG; |
97 configuration.client.captureConsole = true; | 98 configuration.client.captureConsole = true; |
98 } | 99 } |
99 | 100 |
100 config.set(configuration); | 101 config.set(configuration); |
101 }; | 102 }; |
OLD | NEW |