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', | |
18 // {pattern: 'test/browser/*.js', included: false} | 17 // {pattern: 'test/browser/*.js', included: false} |
19 'gen/codegen_output/async_helper/async_helper.js', | 18 'gen/codegen_output/async_helper/async_helper.js', |
20 'gen/codegen_output/dom/dom.js', | |
21 'gen/codegen_output/expect/expect.js', | 19 'gen/codegen_output/expect/expect.js', |
22 'gen/codegen_output/path/path.js', | 20 'gen/codegen_output/path/path.js', |
23 'gen/codegen_output/stack_trace/stack_trace.js', | 21 'gen/codegen_output/stack_trace/stack_trace.js', |
24 'gen/codegen_output/js/js.js', | 22 'gen/codegen_output/js/js.js', |
25 'gen/codegen_output/matcher/matcher.js', | 23 'gen/codegen_output/matcher/matcher.js', |
26 'gen/codegen_output/unittest/unittest.js', | 24 'gen/codegen_output/unittest/unittest.js', |
27 'gen/codegen_output/syncstar_syntax.js', | |
28 'gen/codegen_output/language/**.js', | 25 'gen/codegen_output/language/**.js', |
29 'gen/codegen_output/language/sub/sub.js', | 26 'gen/codegen_output/language/**.err', |
30 'gen/codegen_output/language/*.lib', | |
31 'gen/codegen_output/corelib/**.js', | 27 'gen/codegen_output/corelib/**.js', |
| 28 'gen/codegen_output/corelib/**.err', |
32 'gen/codegen_output/lib/convert/**.js', | 29 'gen/codegen_output/lib/convert/**.js', |
33 'gen/codegen_output/lib/html/**.js', | 30 'gen/codegen_output/lib/html/**.js', |
34 'gen/codegen_output/lib/math/**.js', | 31 'gen/codegen_output/lib/math/**.js', |
35 'gen/codegen_output/lib/typed_data/**.js', | 32 'gen/codegen_output/lib/typed_data/**.js', |
| 33 'gen/codegen_output/lib/*/**.err', |
36 'test/browser/*.js', | 34 'test/browser/*.js', |
37 'test-main.js', | 35 'test-main.js', |
38 ], | 36 ], |
39 | 37 |
40 // list of files to exclude | 38 // list of files to exclude |
41 exclude: [ | 39 exclude: [ |
42 ], | 40 ], |
43 | 41 |
44 // preprocess matching files before serving them to the browser | 42 // preprocess matching files before serving them to the browser |
45 // available preprocessors: https://npmjs.org/browse/keyword/karma-preproces
sor | 43 // available preprocessors: https://npmjs.org/browse/keyword/karma-preproces
sor |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 configuration.browsers = ['chrome_canary_travis']; | 98 configuration.browsers = ['chrome_canary_travis']; |
101 configuration.autoWatch = false; | 99 configuration.autoWatch = false; |
102 // Enable this for more logging on Travis. It is too much for Travis to | 100 // Enable this for more logging on Travis. It is too much for Travis to |
103 // automatically display, but still results in a downloadable raw log. | 101 // automatically display, but still results in a downloadable raw log. |
104 // configuration.logLevel = config.LOG_DEBUG; | 102 // configuration.logLevel = config.LOG_DEBUG; |
105 configuration.client.captureConsole = true; | 103 configuration.client.captureConsole = true; |
106 } | 104 } |
107 | 105 |
108 config.set(configuration); | 106 config.set(configuration); |
109 }; | 107 }; |
OLD | NEW |