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

Side by Side Diff: karma.conf.js

Issue 1321683004: use the real matchers for running language tests (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: add TODO Created 5 years, 3 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 | « .gitignore ('k') | test/codegen/expect/unittest.js » ('j') | no next file with comments »
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 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
11 // base path that will be used to resolve all patterns (eg. files, exclude) 11 // base path that will be used to resolve all patterns (eg. files, exclude)
12 basePath: '', 12 basePath: '',
13 13
14 // frameworks to use 14 // frameworks to use
15 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter 15 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
16 frameworks: ['mocha', 'requirejs', 'chai'], 16 frameworks: ['mocha', 'requirejs', 'chai'],
17 17
18 // list of files / patterns to load in the browser 18 // list of files / patterns to load in the browser
19 files: [ 19 files: [
20 'lib/runtime/dart_*.js', 20 'lib/runtime/dart_*.js',
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',
28 'test/codegen/expect/matcher/src/*.js',
vsm 2015/08/28 00:05:54 Are these supposed to be checked in with this CL?
Jennifer Messerly 2015/08/28 16:09:20 no. I added them to the gitignore.
27 'test/codegen/expect/unittest/unittest.js', 29 'test/codegen/expect/unittest/unittest.js',
28 'test/codegen/expect/syncstar_syntax.js', 30 'test/codegen/expect/syncstar_syntax.js',
29 'test/codegen/expect/language/*.js', 31 'test/codegen/expect/language/*.js',
30 'test/browser/*.js', 32 'test/browser/*.js',
31 'test-main.js', 33 'test-main.js',
32 ], 34 ],
33 35
34 // list of files to exclude 36 // list of files to exclude
35 exclude: [ 37 exclude: [
36 ], 38 ],
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 98
97 if (process.env.TRAVIS) { 99 if (process.env.TRAVIS) {
98 configuration.browsers = ['chrome_canary_travis']; 100 configuration.browsers = ['chrome_canary_travis'];
99 configuration.autoWatch = false; 101 configuration.autoWatch = false;
100 configuration.logLevel = config.LOG_DEBUG; 102 configuration.logLevel = config.LOG_DEBUG;
101 configuration.client.captureConsole = true; 103 configuration.client.captureConsole = true;
102 } 104 }
103 105
104 config.set(configuration); 106 config.set(configuration);
105 }; 107 };
OLDNEW
« no previous file with comments | « .gitignore ('k') | test/codegen/expect/unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698