2 // http://karma-runner.github.io/0.10/config/configuration-file.html
4 module.exports = function(config) {
6 // base path, that will be used to resolve files and exclude
9 // testing framework to use (jasmine/mocha/qunit/...)
10 frameworks: ['jasmine'],
12 // list of files / patterns to load in the browser
15 'client/bower_components/jquery/dist/jquery.js',
16 'client/bower_components/angular/angular.js',
17 'client/bower_components/angular-bootstrap/ui-bootstrap-tpls.js',
18 'client/bower_components/angular-cookies/angular-cookies.js',
19 'client/bower_components/angular-resource/angular-resource.js',
20 'client/bower_components/angular-sanitize/angular-sanitize.js',
21 'client/bower_components/angular-translate/angular-translate.js',
22 'client/bower_components/angular-translate-loader-static-files/angular-translate-loader-static-files.js',
23 'client/bower_components/angular-translate-storage-cookie/angular-translate-storage-cookie.js',
24 'client/bower_components/angular-ui-router/release/angular-ui-router.js',
25 'client/bower_components/lodash/dist/lodash.compat.js',
26 'client/bower_components/angular-mocks/angular-mocks.js',
29 'client/app/app.coffee',
31 'client/app/**/*.coffee',
32 'client/components/**/*.js',
33 'client/components/**/*.coffee',
34 'client/app/**/*.jade',
35 'client/components/**/*.jade',
36 'client/app/**/*.html',
37 'client/components/**/*.html'
41 '**/*.jade': 'ng-jade2js',
42 '**/*.html': 'html2js',
43 '**/*.coffee': 'coffee',
46 ngHtml2JsPreprocessor: {
47 stripPrefix: 'client/'
50 ngJade2JsPreprocessor: {
51 stripPrefix: 'client/'
56 // list of files / patterns to exclude
63 // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
64 logLevel: config.LOG_INFO,
68 // - progress (default)
69 // - spec (karma-spec-reporter)
75 // enable / disable watching file and executing tests whenever any file changes
79 // Start these browsers, currently available:
84 // - Safari (only Mac)
86 // - IE (only Windows)
87 browsers: ['PhantomJS'],
90 // Continuous Integration mode
91 // if true, it capture browsers, run tests and exit