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

Side by Side Diff: third_party/pkg/angular/karma.conf.js

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « third_party/pkg/angular/karma-perf.conf.js ('k') | third_party/pkg/angular/karma_run.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 module.exports = function(config) { 1 module.exports = function(config) {
2 config.set({ 2 config.set({
3 //logLevel: config.LOG_DEBUG, 3 //logLevel: config.LOG_DEBUG,
4 basePath: '.', 4 basePath: '.',
5 frameworks: ['dart-unittest'], 5 frameworks: ['dart-unittest'],
6 6
7 // list of files / patterns to load in the browser 7 // list of files / patterns to load in the browser
8 // all tests must be 'included', but all other libraries must be 'served' an d 8 // all tests must be 'included', but all other libraries must be 'served' an d
9 // optionally 'watched' only. 9 // optionally 'watched' only.
10 files: [ 10 files: [
11 'test/jasmine_syntax.dart', 11 'test/jasmine_syntax.dart',
12 'test/*.dart', 12 'test/*.dart',
13 'test/**/*_spec.dart', 13 'test/**/*_spec.dart',
14 'test/config/filter_tests.dart', 14 'test/config/filter_tests.dart',
15 {pattern: '**/*.dart', watched: true, included: false, served: true}, 15 {pattern: '**/*.dart', watched: true, included: false, served: true},
16 'packages/browser/dart.js', 16 'packages/browser/dart.js',
17 'packages/browser/interop.js' 17 'packages/browser/interop.js',
18 'packages/shadow_dom/shadow_dom.debug.js'
18 ], 19 ],
19 20
20 exclude: [ 21 exclude: [
21 'test/io/**' 22 'test/io/**',
23 'test/tools/transformer/**',
24 'test/tools/symbol_inspector/**'
22 ], 25 ],
23 26
24 autoWatch: false, 27 autoWatch: false,
25 28
26 // If browser does not capture in given timeout [ms], kill it 29 // If browser does not capture in given timeout [ms], kill it
27 captureTimeout: 5000, 30 captureTimeout: 20000,
31 // 5 minutes is enough time for dart2js to run on Travis...
32 browserNoActivityTimeout: 300000,
28 33
29 plugins: [ 34 plugins: [
30 'karma-dart', 35 'karma-dart',
31 'karma-chrome-launcher', 36 'karma-chrome-launcher',
37 'karma-firefox-launcher',
32 'karma-script-launcher', 38 'karma-script-launcher',
33 'karma-junit-reporter', 39 'karma-junit-reporter',
34 '../../../karma-parser-generator',
35 '../../../karma-parser-getter-setter' 40 '../../../karma-parser-getter-setter'
36 ], 41 ],
37 42
38 customLaunchers: { 43 customLaunchers: {
39 Dartium: { base: 'ChromeCanary', flags: ['--no-sandbox'] },
40 ChromeNoSandbox: { base: 'Chrome', flags: ['--no-sandbox'] } 44 ChromeNoSandbox: { base: 'Chrome', flags: ['--no-sandbox'] }
41 }, 45 },
42 46
47 browsers: ['Dartium'],
48
43 preprocessors: { 49 preprocessors: {
44 'test/core/parser/generated_functions.dart': ['parser-generator'],
45 'test/core/parser/generated_getter_setter.dart': ['parser-getter-setter'] 50 'test/core/parser/generated_getter_setter.dart': ['parser-getter-setter']
46 }, 51 },
47 52
48 junitReporter: { 53 junitReporter: {
49 outputFile: 'test_out/unit.xml', 54 outputFile: 'test_out/unit.xml',
50 suite: 'unit' 55 suite: 'unit'
51 } 56 }
52 }); 57 });
53 }; 58 };
OLDNEW
« no previous file with comments | « third_party/pkg/angular/karma-perf.conf.js ('k') | third_party/pkg/angular/karma_run.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698