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