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 'bower_components/angular-file-saver/dist/angular-file-saver.bundle.min.js',
13 'build/js/ui-bootstrap.min.js',
14 'build/js/hotkeys.min.js',
15 /* OpenSRF must be installed first */
16 '/openils/lib/javascript/md5.js',
17 '/openils/lib/javascript/JSON_v1.js',
18 '/openils/lib/javascript/opensrf.js',
19 '/openils/lib/javascript/opensrf_ws.js',
21 // mock data for testing only
22 'test/data/IDL2js.js',
23 'test/data/eg_mock.js',
25 // service/*.js have to be loaded in order
28 'services/strings.js',
38 'services/coresvc.js',
40 'services/startup.js',
42 'services/statusbar.js',
44 'services/navbar.js', 'services/date.js',
50 'test/unit/egIDL.js', // order matters for some of these
55 // test results reporter to use
56 // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
57 reporters: ['spec'], // detailed report
58 //reporters: ['progress'], // summary report
60 // enable / disable colors in the output (reporters and logs)
63 // enable / disable watching file and executing tests whenever any file changes
66 frameworks: ['jasmine'],
68 browsers: ['PhantomJS'],
80 '../src/*.js': ['coverage']
84 // If browser does not capture in given timeout [ms], kill it
85 captureTimeout: 60000,
87 // Continuous Integration mode
88 // if true, it capture browsers, run tests and exit