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/vendor.bundle.js',
10 'build/js/core.bundle.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 /* 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
27 'services/patron_search.js',
28 'services/user-bucket.js',
36 'test/unit/egIDL.js', // order matters for some of these
41 // test results reporter to use
42 // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
43 reporters: ['spec'], // detailed report
44 //reporters: ['progress'], // summary report
46 // enable / disable colors in the output (reporters and logs)
49 // enable / disable watching file and executing tests whenever any file changes
52 frameworks: ['jasmine'],
54 browsers: ['PhantomJS'],
66 '../src/*.js': ['coverage']
70 // If browser does not capture in given timeout [ms], kill it
71 captureTimeout: 60000,
73 // Continuous Integration mode
74 // if true, it capture browsers, run tests and exit