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 'node_modules/angular-mocks/angular-mocks.js', // testing only
12 'node_modules/angular-file-saver/dist/angular-file-saver.bundle.min.js',
13 'node_modules/ng-toast/dist/ngToast.min.js',
14 'node_modules/angular-sanitize/angular-sanitize.min.js',
15 'build/js/ui-bootstrap.js',
16 'build/js/hotkeys.min.js',
17 'build/js/angular-cookies.min.js',
18 /* OpenSRF must be installed first */
19 '/openils/lib/javascript/md5.js',
20 '/openils/lib/javascript/JSON_v1.js',
21 '/openils/lib/javascript/opensrf.js',
22 '/openils/lib/javascript/opensrf_ws.js',
24 // mock data for testing only
25 'test/data/IDL2js.js',
26 'test/data/eg_mock.js',
28 // service/*.js have to be loaded in order
31 'services/strings.js',
41 'services/coresvc.js',
43 'services/startup.js',
46 'services/op_change.js',
47 'services/patron_search.js',
48 'services/navbar.js', 'services/date.js',
49 'services/user-bucket.js',
55 'test/unit/egIDL.js', // order matters for some of these
60 // test results reporter to use
61 // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
62 reporters: ['spec'], // detailed report
63 //reporters: ['progress'], // summary report
65 // enable / disable colors in the output (reporters and logs)
68 // enable / disable watching file and executing tests whenever any file changes
71 frameworks: ['jasmine'],
73 browsers: ['PhantomJS'],
85 '../src/*.js': ['coverage']
89 // If browser does not capture in given timeout [ms], kill it
90 captureTimeout: 60000,
92 // Continuous Integration mode
93 // if true, it capture browsers, run tests and exit