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