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/vendor.bundle.js',
11 'build/js/core.bundle.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 /* OpenSRF must be installed first */
17 '/openils/lib/javascript/md5.js',
18 '/openils/lib/javascript/JSON_v1.js',
19 '/openils/lib/javascript/opensrf.js',
20 '/openils/lib/javascript/opensrf_ws.js',
22 // mock data for testing only
23 'test/data/IDL2js.js',
24 'test/data/eg_mock.js',
26 // service/*.js have to be loaded in order
28 'services/patron_search.js',
29 'services/user-bucket.js',
37 'test/unit/egIDL.js', // order matters for some of these
42 // test results reporter to use
43 // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
44 reporters: ['spec'], // detailed report
45 //reporters: ['progress'], // summary report
47 // enable / disable colors in the output (reporters and logs)
50 // enable / disable watching file and executing tests whenever any file changes
53 frameworks: ['jasmine'],
55 browsers: ['ChromeHeadless','FirefoxHeadless'],
76 '../src/*.js': ['coverage']
80 // If browser does not capture in given timeout [ms], kill it
81 captureTimeout: 60000,
83 // Continuous Integration mode
84 // if true, it capture browsers, run tests and exit