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/navbar.js', 'services/date.js',
53 'test/unit/egIDL.js', // order matters for some of these
58 // test results reporter to use
59 // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
60 reporters: ['spec'], // detailed report
61 //reporters: ['progress'], // summary report
63 // enable / disable colors in the output (reporters and logs)
66 // enable / disable watching file and executing tests whenever any file changes
69 frameworks: ['jasmine'],
71 browsers: ['PhantomJS'],
83 '../src/*.js': ['coverage']
87 // If browser does not capture in given timeout [ms], kill it
88 captureTimeout: 60000,
90 // Continuous Integration mode
91 // if true, it capture browsers, run tests and exit