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

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

Issue 484753002: Fix exception when running Sheriff-o-Matic tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/ui/test/ct-commit-list-tests.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 checkLeaks: true, 18 checkLeaks: true,
19 globals: ['net'] 19 globals: ['net']
20 } 20 },
21 captureConsole: true
21 }, 22 },
22 23
23 // list of files / patterns to load in the browser 24 // list of files / patterns to load in the browser
24 files: [ 25 files: [
25 'bower_components/platform/platform.js', 26 'bower_components/platform/platform.js',
26 'test/karma-loader.html', 27 'test/karma-loader.html',
27 'bower_components/chai/chai.js', 28 'bower_components/chai/chai.js',
28 'bower_components/sugar/release/sugar-full.development.js', 29 'bower_components/sugar/release/sugar-full.development.js',
29 {pattern: 'bower_components/**/*.{js,html,css,map}', included: false}, 30 {pattern: 'bower_components/**/*.{js,html,css,map}', included: false},
30 'node_modules/mocha/mocha.js', 31 'node_modules/mocha/mocha.js',
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // Continuous Integration mode 77 // Continuous Integration mode
77 // if true, Karma captures browsers, runs the tests and exits 78 // if true, Karma captures browsers, runs the tests and exits
78 singleRun: false, 79 singleRun: false,
79 80
80 plugins: [ 81 plugins: [
81 'karma-mocha', 82 'karma-mocha',
82 'karma-chrome-launcher' 83 'karma-chrome-launcher'
83 ] 84 ]
84 }); 85 });
85 }; 86 };
OLDNEW
« no previous file with comments | « no previous file | Tools/GardeningServer/ui/test/ct-commit-list-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698