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

Side by Side Diff: karma.conf.js

Issue 2249233002: fix #626, add AMD module format and make it default (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix sunflower Created 4 years, 4 months 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
« no previous file with comments | « no previous file | lib/runtime/dart_sdk.js » ('j') | lib/runtime/dart_sdk.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'lib/runtime/dart_*.js', 16 {pattern: 'lib/runtime/dart_sdk.js', included: false},
vsm 2016/08/16 21:23:23 What does "included" mean here?
Jennifer Messerly 2016/08/16 21:29:27 it's a karma thing: http://karma-runner.github.io/
17 // {pattern: 'test/browser/*.js', included: false} 17 {pattern: 'gen/codegen_output/pkg/*.js', included: false},
18 'gen/codegen_output/pkg/*.js', 18 {pattern: 'gen/codegen_output/language/**.js', included: false},
19 'gen/codegen_output/language/**.js', 19 {pattern: 'gen/codegen_output/language/**.err', included: false},
20 'gen/codegen_output/language/**.err', 20 {pattern: 'gen/codegen_output/corelib/**.js', included: false},
21 'gen/codegen_output/corelib/**.js', 21 {pattern: 'gen/codegen_output/corelib/**.err', included: false},
22 'gen/codegen_output/corelib/**.err', 22 {pattern: 'gen/codegen_output/lib/*/**.js', included: false},
23 'gen/codegen_output/lib/convert/**.js', 23 {pattern: 'gen/codegen_output/lib/*/**.err', included: false},
24 'gen/codegen_output/lib/html/**.js', 24 {pattern: 'test/browser/*.js', included: false},
25 'gen/codegen_output/lib/math/**.js',
26 'gen/codegen_output/lib/typed_data/**.js',
27 'gen/codegen_output/lib/*/**.err',
28 'test/browser/*.js',
29 'test-main.js', 25 'test-main.js',
30 ], 26 ],
31 27
32 // list of files to exclude 28 // list of files to exclude
33 exclude: [ 29 exclude: [],
34 ],
35 30
36 // preprocess matching files before serving them to the browser 31 // preprocess matching files before serving them to the browser
37 // available preprocessors: https://npmjs.org/browse/keyword/karma-preproces sor 32 // available preprocessors: https://npmjs.org/browse/keyword/karma-preproces sor
38 preprocessors: { 33 preprocessors: {
39 }, 34 },
40 35
41 client: { 36 client: {
42 captureConsole: false, 37 captureConsole: false,
43 mocha: { 38 mocha: {
44 ui: 'tdd', 39 ui: 'tdd',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 configuration.browsers = ['chrome_canary_travis']; 87 configuration.browsers = ['chrome_canary_travis'];
93 configuration.autoWatch = false; 88 configuration.autoWatch = false;
94 // Enable this for more logging on Travis. It is too much for Travis to 89 // 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. 90 // automatically display, but still results in a downloadable raw log.
96 // configuration.logLevel = config.LOG_DEBUG; 91 // configuration.logLevel = config.LOG_DEBUG;
97 configuration.client.captureConsole = true; 92 configuration.client.captureConsole = true;
98 } 93 }
99 94
100 config.set(configuration); 95 config.set(configuration);
101 }; 96 };
OLDNEW
« no previous file with comments | « no previous file | lib/runtime/dart_sdk.js » ('j') | lib/runtime/dart_sdk.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698