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

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

Issue 542953003: Fix global exceptions in karma.conf.js for chartnewjs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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', 'scrolled', 'oCursor', 'availableWidth', 'topNotUsableS ize', 19 globals: ['net', 'scrolled', 'oCursor', 'availableWidth', 'topNotUsableS ize',
20 'xLabelWidth', 'nblab', 'bottomNotUsableHeightWithoutXLabels', 20 'xLabelWidth', 'nblab', 'bottomNotUsableHeightWithoutXLabels',
21 'bottomNotUsableHeightWithXLabels', 'availableHeight', 'clrx', 'clrw idth', 21 'bottomNotUsableHeightWithXLabels', 'availableHeight', 'clrx', 'clrw idth',
22 'clry', 'clrheight'] 22 'clry', 'clrheight', 'fmtYLabel', 'lgtxt', 'lgtxt2']
23 }, 23 },
24 captureConsole: true 24 captureConsole: true
25 }, 25 },
26 26
27 // list of files / patterns to load in the browser 27 // list of files / patterns to load in the browser
28 files: [ 28 files: [
29 // dependencies 29 // dependencies
30 'bower_components/platform/platform.js', 30 'bower_components/platform/platform.js',
31 'test/karma-loader.html', 31 'test/karma-loader.html',
32 'bower_components/chai/chai.js', 32 'bower_components/chai/chai.js',
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Continuous Integration mode 82 // Continuous Integration mode
83 // if true, Karma captures browsers, runs the tests and exits 83 // if true, Karma captures browsers, runs the tests and exits
84 singleRun: false, 84 singleRun: false,
85 85
86 plugins: [ 86 plugins: [
87 'karma-mocha', 87 'karma-mocha',
88 'karma-chrome-launcher' 88 'karma-chrome-launcher'
89 ] 89 ]
90 }); 90 });
91 }; 91 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698