2 // Generated on Tue Jul 14 2015 10:10:58 GMT-0400 (Eastern Daylight Time)
4 module.exports = function(config) {
7 // base path that will be used to resolve all patterns (eg. files, exclude)
12 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
13 frameworks: ['jasmine'],
16 // list of files / patterns to load in the browser
18 '../node_modules/angular/angular.js',
19 '../node_modules/angular-ui-bootstrap/ui-bootstrap-tpls.min.js',
20 '../node_modules/angular-mocks/angular-mocks.js',
21 '../angular-confirm.js',
26 // list of files to exclude
31 // preprocess matching files before serving them to the browser
32 // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
37 // test results reporter to use
38 // possible values: 'dots', 'progress'
39 // available reporters: https://npmjs.org/browse/keyword/karma-reporter
40 reporters: ['progress'],
47 // enable / disable colors in the output (reporters and logs)
52 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
53 logLevel: config.LOG_INFO,
56 // enable / disable watching file and executing tests whenever any file changes
60 // start these browsers
61 // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
67 flags: ['--no-sandbox']
71 // Continuous Integration mode
72 // if true, Karma captures browsers, runs the tests and exits
76 if(process.env.TRAVIS){
77 configuration.browsers = ['Chrome_travis_ci'];
80 config.set(configuration);