Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(690)

Side by Side Diff: pkg/dev_compiler/karma.conf.js

Issue 2467063002: Move FF and Canary to green on travis (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 {pattern: 'lib/js/amd/dart_sdk.js', included: false}, 16 {pattern: 'lib/js/amd/dart_sdk.js', included: false},
17 {pattern: 'gen/codegen_output/pkg/*.js', included: false}, 17 {pattern: 'gen/codegen_output/pkg/*.js', included: false},
18 {pattern: 'gen/codegen_output/language/**/*.js', included: false}, 18 {pattern: 'gen/codegen_output/language/**/*.js', included: false},
19 {pattern: 'gen/codegen_output/corelib/**/*.js', included: false}, 19 {pattern: 'gen/codegen_output/corelib/**/*.js', included: false},
20 {pattern: 'gen/codegen_output/lib/**/*.js', included: false}, 20 {pattern: 'gen/codegen_output/lib/**/*.js', included: false},
21 {pattern: 'test/browser/*.js', included: false}, 21 {pattern: 'test/browser/*.js', included: false},
22 {pattern: 'node_modules/is_js/*.js', included: false},
22 'test-main.js', 23 'test-main.js',
23 ], 24 ],
24 25
25 // list of files to exclude 26 // list of files to exclude
26 exclude: [], 27 exclude: [],
27 28
28 // preprocess matching files before serving them to the browser 29 // preprocess matching files before serving them to the browser
29 // available preprocessors: https://npmjs.org/browse/keyword/karma-preproces sor 30 // available preprocessors: https://npmjs.org/browse/keyword/karma-preproces sor
30 preprocessors: { 31 preprocessors: {
31 }, 32 },
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // configuration.logLevel = config.LOG_DEBUG; 89 // configuration.logLevel = config.LOG_DEBUG;
89 configuration.client.captureConsole = true; 90 configuration.client.captureConsole = true;
90 } 91 }
91 92
92 if (process.env.DDC_BROWSERS) { 93 if (process.env.DDC_BROWSERS) {
93 configuration.browsers = process.env.DDC_BROWSERS.split(':'); 94 configuration.browsers = process.env.DDC_BROWSERS.split(':');
94 } 95 }
95 96
96 config.set(configuration); 97 config.set(configuration);
97 }; 98 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698