owncloud /
mail
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | // Karma configuration |
||
| 2 | // Generated on Tue Sep 01 2015 13:54:51 GMT+0200 (CEST) |
||
| 3 | |||
| 4 | module.exports = function(config) { |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 5 | config.set({ |
||
| 6 | // frameworks to use |
||
| 7 | // available frameworks: https://npmjs.org/browse/keyword/karma-adapter |
||
| 8 | frameworks: ['jasmine', 'requirejs'], |
||
| 9 | |||
| 10 | // list of files / patterns to load in the browser |
||
| 11 | files: [ |
||
| 12 | 'js/vendor/jquery/dist/jquery.js', |
||
| 13 | {pattern: 'js/*/*.js', included: false}, |
||
| 14 | {pattern: 'js/*.js', included: false}, |
||
| 15 | {pattern: 'js/templates/*.html', included: false}, |
||
| 16 | {pattern: 'js/vendor/backbone/backbone.js', included: false}, |
||
| 17 | {pattern: 'js/vendor/backbone.marionette/lib/backbone.marionette.js', included: false}, |
||
| 18 | {pattern: 'js/vendor/backbone.radio/build/backbone.radio.js', included: false}, |
||
| 19 | {pattern: 'js/vendor/jquery/dist/jquery.js', included: false}, |
||
| 20 | {pattern: 'js/vendor/handlebars/handlebars.js', included: false}, |
||
| 21 | {pattern: 'js/vendor/text/text.js', included: false}, |
||
| 22 | {pattern: 'js/vendor/underscore/underscore.js', included: false}, |
||
| 23 | {pattern: 'js/tests/mocks/*.js', included: false}, |
||
| 24 | {pattern: 'js/tests/*.js', included: false}, |
||
| 25 | 'js/tests/test-main.js' |
||
| 26 | ], |
||
| 27 | |||
| 28 | // list of files to exclude |
||
| 29 | exclude: [ |
||
| 30 | 'js/require_config.js', |
||
| 31 | 'js/init.js' |
||
| 32 | ], |
||
| 33 | // preprocess matching files before serving them to the browser |
||
| 34 | // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor |
||
| 35 | preprocessors: { |
||
| 36 | }, |
||
| 37 | // test results reporter to use |
||
| 38 | // possible values: 'dots', 'progress' |
||
| 39 | // available reporters: https://npmjs.org/browse/keyword/karma-reporter |
||
| 40 | reporters: ['progress'], |
||
| 41 | // web server port |
||
| 42 | port: 9876, |
||
| 43 | // enable / disable colors in the output (reporters and logs) |
||
| 44 | colors: true, |
||
| 45 | // level of logging |
||
| 46 | // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG |
||
|
0 ignored issues
–
show
|
|||
| 47 | logLevel: config.LOG_INFO, |
||
| 48 | // enable / disable watching file and executing tests whenever any file changes |
||
| 49 | autoWatch: true, |
||
| 50 | // start these browsers |
||
| 51 | // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher |
||
| 52 | browsers: ['PhantomJS'], |
||
| 53 | // Continuous Integration mode |
||
| 54 | // if true, Karma captures browsers, runs the tests and exits |
||
| 55 | singleRun: false |
||
| 56 | }); |
||
| 57 | }; |
||
| 58 |