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

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

Issue 2789663005: Fix type checks and display for JS interop types. (Closed)
Patch Set: Code review comment fixes. Created 3 years, 8 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
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: 'gen/codegen_tests/lib/**/*.txt', included: false},
21 {pattern: 'test/browser/*.js', included: false}, 22 {pattern: 'test/browser/*.js', included: false},
22 {pattern: 'node_modules/is_js/*.js', included: false}, 23 {pattern: 'node_modules/is_js/*.js', included: false},
23 'test-main.js', 24 'test-main.js',
24 ], 25 ],
25 26
26 // list of files to exclude 27 // list of files to exclude
27 exclude: [], 28 exclude: [],
28 29
29 // preprocess matching files before serving them to the browser 30 // preprocess matching files before serving them to the browser
30 // available preprocessors: https://npmjs.org/browse/keyword/karma-preproces sor 31 // available preprocessors: https://npmjs.org/browse/keyword/karma-preproces sor
31 preprocessors: { 32 preprocessors: {
32 }, 33 },
33 34
34 client: { 35 client: {
35 captureConsole: false, 36 captureConsole: false,
36 mocha: { 37 mocha: {
37 ui: 'tdd', 38 ui: 'tdd',
38 timeout : 6000 39 timeout : 6000
39 }, 40 },
40 }, 41 },
41 42
42 // test results reporter to use 43 // test results reporter to use
43 // possible values: 'dots', 'progress' 44 // possible values: 'dots', 'progress'
44 // available reporters: https://npmjs.org/browse/keyword/karma-reporter 45 // available reporters: https://npmjs.org/browse/keyword/karma-reporter
45 reporters: ['progress'], 46 reporters: ['progress'],
46 47
47 // web server port 48 // web server port
48 port: 9876, 49 port: 9876,
49 50
51 // Proxy requried to match expectations on where resources required by
vsm 2017/04/03 15:14:56 requried -> required
Jacob 2017/04/03 15:33:05 Done.
52 // tests are served from.
53 proxies: {
54 '/root_dart/tests/lib/': '/base/gen/codegen_tests/lib/'
Jacob 2017/04/01 00:51:13 this matches the directory structure used by the r
55 },
56
50 // enable / disable colors in the output (reporters and logs) 57 // enable / disable colors in the output (reporters and logs)
51 colors: true, 58 colors: true,
52 59
53 // level of logging 60 // level of logging
54 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WAR N || config.LOG_INFO || config.LOG_DEBUG 61 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WAR N || config.LOG_INFO || config.LOG_DEBUG
55 logLevel: config.LOG_INFO, 62 logLevel: config.LOG_INFO,
56 63
57 // enable / disable watching file and executing tests whenever any file chan ges 64 // enable / disable watching file and executing tests whenever any file chan ges
58 autoWatch: true, 65 autoWatch: true,
59 66
(...skipping 29 matching lines...) Expand all
89 // configuration.logLevel = config.LOG_DEBUG; 96 // configuration.logLevel = config.LOG_DEBUG;
90 configuration.client.captureConsole = true; 97 configuration.client.captureConsole = true;
91 } 98 }
92 99
93 if (process.env.DDC_BROWSERS) { 100 if (process.env.DDC_BROWSERS) {
94 configuration.browsers = process.env.DDC_BROWSERS.split(':'); 101 configuration.browsers = process.env.DDC_BROWSERS.split(':');
95 } 102 }
96 103
97 config.set(configuration); 104 config.set(configuration);
98 }; 105 };
OLDNEW
« no previous file with comments | « no previous file | pkg/dev_compiler/lib/sdk/ddc_sdk.sum » ('j') | pkg/dev_compiler/test/browser/language_tests.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698