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

Side by Side Diff: Tools/GardeningServer/karma.conf.js

Issue 459463003: Convert moar Sheriff-o-Matic tests to Polymer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: forgot to add lib/network-simulator.html Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Tools/GardeningServer/lib/network-simulator.html » ('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 Jul 21 2014 15:27:46 GMT-0700 (PDT) 2 // Generated on Mon Jul 21 2014 15:27:46 GMT-0700 (PDT)
3 3
4 module.exports = function(config) { 4 module.exports = function(config) {
5 config.set({ 5 config.set({
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'], 12 frameworks: ['mocha'],
13 13
14 // mocha setup 14 // mocha setup
15 client: { 15 client: {
16 mocha: { 16 mocha: {
17 ui: 'bdd' 17 ui: 'bdd',
18 globals: ['net']
18 } 19 }
19 }, 20 },
20 21
21 // list of files / patterns to load in the browser 22 // list of files / patterns to load in the browser
22 files: [ 23 files: [
23 'bower_components/platform/platform.js', 24 'bower_components/platform/platform.js',
24 'test/karma_loader.html', 25 'test/karma-loader.html',
25 'bower_components/chai/chai.js', 26 'bower_components/chai/chai.js',
26 'bower_components/sugar/release/sugar-full.development.js', 27 'bower_components/sugar/release/sugar-full.development.js',
27 {pattern: 'bower_components/**/*.{js,html,css,map}', included: false}, 28 {pattern: 'bower_components/**/*.{js,html,css,map}', included: false},
28 'node_modules/mocha/mocha.js', 29 'node_modules/mocha/mocha.js',
29 'polymer-load-warning.html', 30 'polymer-load-warning.html',
30 {pattern: 'model/*.html', included: false}, 31 {pattern: 'model/*.html', included: false},
32 {pattern: 'lib/*.html', included: false},
31 'model/test/*.html', 33 'model/test/*.html',
32 'scripts/*.js', 34 'scripts/*.js',
33 {pattern: 'ui/*.html', included: false}, 35 {pattern: 'ui/*.html', included: false},
34 'ui/test/*', 36 'ui/test/*',
35 ], 37 ],
36 38
37 // list of files to exclude 39 // list of files to exclude
38 exclude: [ 40 exclude: [
39 'model/*tests.html', 41 'model/*tests.html',
40 'scripts/*tests.js', 42 'scripts/*tests.js',
(...skipping 30 matching lines...) Expand all
71 // Continuous Integration mode 73 // Continuous Integration mode
72 // if true, Karma captures browsers, runs the tests and exits 74 // if true, Karma captures browsers, runs the tests and exits
73 singleRun: false, 75 singleRun: false,
74 76
75 plugins: [ 77 plugins: [
76 'karma-mocha', 78 'karma-mocha',
77 'karma-chrome-launcher' 79 'karma-chrome-launcher'
78 ] 80 ]
79 }); 81 });
80 }; 82 };
OLDNEW
« no previous file with comments | « no previous file | Tools/GardeningServer/lib/network-simulator.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698