1 module.exports = function(config){
5 // config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
6 logLevel: config.LOG_INFO,
9 'build/js/angular.min.js',
10 'build/js/angular-route.min.js',
11 'bower_components/angular-mocks/angular-mocks.js', // testing only
12 'build/js/ui-bootstrap.min.js',
13 'build/js/hotkeys.min.js',
14 /* OpenSRF must be installed first */
15 '/openils/lib/javascript/md5.js',
16 '/openils/lib/javascript/JSON_v1.js',
17 '/openils/lib/javascript/opensrf.js',
18 '/openils/lib/javascript/opensrf_ws.js',
20 // mock data for testing only
21 'test/data/IDL2js.js',
22 'test/data/eg_mock.js',
24 // service/*.js have to be loaded in order
27 'services/strings.js',
36 'services/coresvc.js',
38 'services/startup.js',
40 'services/statusbar.js',
49 'test/unit/egIDL.js', // order matters for some of these
54 // test results reporter to use
55 // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
56 reporters: ['spec'], // detailed report
57 //reporters: ['progress'], // summary report
59 // enable / disable colors in the output (reporters and logs)
62 // enable / disable watching file and executing tests whenever any file changes
65 frameworks: ['jasmine'],
67 browsers: ['PhantomJS'],
79 '../src/*.js': ['coverage']
83 // If browser does not capture in given timeout [ms], kill it
84 captureTimeout: 60000,
86 // Continuous Integration mode
87 // if true, it capture browsers, run tests and exit