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

Side by Side Diff: karma.conf.js

Issue 1235393004: Use standard harmony flag (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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 | « USAGE.md ('k') | lib/runtime/harmony_feature_check.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-arrow-functions', 6 '--harmony',
7 '--harmony-classes',
8 '--harmony-computed-property-names',
9 '--harmony-spreadcalls',
10 ].join(' ') + '"'; 7 ].join(' ') + '"';
11 8
12 var configuration = { 9 var configuration = {
13 10
14 // 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)
15 basePath: '', 12 basePath: '',
16 13
17 // frameworks to use 14 // frameworks to use
18 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter 15 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
19 frameworks: ['mocha', 'requirejs', 'chai'], 16 frameworks: ['mocha', 'requirejs', 'chai'],
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 singleRun: false, 87 singleRun: false,
91 }; 88 };
92 89
93 if (process.env.TRAVIS) { 90 if (process.env.TRAVIS) {
94 configuration.browsers = ['chrome_canary_travis']; 91 configuration.browsers = ['chrome_canary_travis'];
95 configuration.autoWatch = false; 92 configuration.autoWatch = false;
96 } 93 }
97 94
98 config.set(configuration); 95 config.set(configuration);
99 }; 96 };
OLDNEW
« no previous file with comments | « USAGE.md ('k') | lib/runtime/harmony_feature_check.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698