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 |
(...skipping 10 matching lines...) Expand all Loading... | |
21 'lib/runtime/_*.js', | 21 'lib/runtime/_*.js', |
22 'lib/runtime/dart/*.js', | 22 'lib/runtime/dart/*.js', |
23 // {pattern: 'test/browser/*.js', included: false} | 23 // {pattern: 'test/browser/*.js', included: false} |
24 'test/codegen/expect/async_helper/async_helper.js', | 24 'test/codegen/expect/async_helper/async_helper.js', |
25 'test/codegen/expect/dom/dom.js', | 25 'test/codegen/expect/dom/dom.js', |
26 'test/codegen/expect/expect/expect.js', | 26 'test/codegen/expect/expect/expect.js', |
27 'test/codegen/expect/matcher/matcher.js', | 27 'test/codegen/expect/matcher/matcher.js', |
28 'test/codegen/expect/matcher/src/*.js', | 28 'test/codegen/expect/matcher/src/*.js', |
29 'test/codegen/expect/unittest/unittest.js', | 29 'test/codegen/expect/unittest/unittest.js', |
30 'test/codegen/expect/syncstar_syntax.js', | 30 'test/codegen/expect/syncstar_syntax.js', |
31 'test/codegen/expect/language/*.js', | 31 'test/codegen/expect/language-all.js', |
vsm
2015/12/14 01:15:07
Karma ships each file as a separate script tag. F
| |
32 'test/codegen/expect/language/sub/sub.js', | 32 'test/codegen/expect/language/sub/sub.js', |
33 'test/codegen/expect/language/*.lib', | 33 'test/codegen/expect/language/*.lib', |
34 'test/browser/*.js', | 34 'test/browser/*.js', |
35 'test-main.js', | 35 'test-main.js', |
36 ], | 36 ], |
37 | 37 |
38 // list of files to exclude | 38 // list of files to exclude |
39 exclude: [ | 39 exclude: [ |
40 ], | 40 ], |
41 | 41 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
79 base: 'Chrome', | 79 base: 'Chrome', |
80 flags: [ '--no-sandbox', harmony_flags ] | 80 flags: [ '--no-sandbox', harmony_flags ] |
81 }, | 81 }, |
82 | 82 |
83 chrome_canary_travis: { | 83 chrome_canary_travis: { |
84 base: 'ChromeCanary', | 84 base: 'ChromeCanary', |
85 flags: [ '--no-sandbox', harmony_flags ] | 85 flags: [ '--no-sandbox', harmony_flags ] |
86 }, | 86 }, |
87 }, | 87 }, |
88 | 88 |
89 browsers: ['Chrome'], | 89 browsers: ['ChromeCanary', 'Electron'], |
90 | 90 |
91 // Continuous Integration mode | 91 // Continuous Integration mode |
92 // if true, Karma captures browsers, runs the tests and exits | 92 // if true, Karma captures browsers, runs the tests and exits |
93 singleRun: false, | 93 singleRun: false, |
94 }; | 94 }; |
95 | 95 |
96 if (process.env.TRAVIS) { | 96 if (process.env.TRAVIS) { |
97 configuration.browsers = ['chrome_canary_travis']; | 97 configuration.browsers = ['chrome_canary_travis', 'Electron']; |
98 configuration.autoWatch = false; | 98 configuration.autoWatch = false; |
99 // 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 |
100 // automatically display, but still results in a downloadable raw log. | 100 // automatically display, but still results in a downloadable raw log. |
101 // configuration.logLevel = config.LOG_DEBUG; | 101 // configuration.logLevel = config.LOG_DEBUG; |
102 configuration.client.captureConsole = true; | 102 configuration.client.captureConsole = true; |
103 } | 103 } |
104 | 104 |
105 config.set(configuration); | 105 config.set(configuration); |
106 }; | 106 }; |
OLD | NEW |