-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.js
40 lines (34 loc) · 1.23 KB
/
karma.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* global module: true */
'use strict';
module.exports = function (config) {
config.set({
files: [
'webapp/sportsfronter/static/webapp/js/jquery.min.js',
'webapp/sportsfronter/static/webapp/js/angular-1.2.9.min.js',
'webapp/sportsfronter/static/webapp/js/angular-route-1.2.9.min.js',
'webapp/sportsfronter/static/webapp/js/angular-touch-1.2.9.min.js',
'webapp/sportsfronter/static/webapp/js/ui-bootstrap-tpls-0.8.0.min.js',
'webapp/sportsfronter/static/webapp/js/angular-cookies-1.2.9.min.js',
'webapp/sportsfronter/static/webapp/js/angular-mocks.js',
'webapp/sportsfronter/static/webapp/js/local_settings.js',
'webapp/sportsfronter/static/webapp/js/app.js',
'webapp/sportsfronter/static/webapp/js/controllers/*.js',
'webapp/sportsfronter/static/webapp/js/services/*.js',
'webapp/test/unit/**/*.js'
],
exclude: [
'webapp/sportsfronter/static/webapp/js/cordova/*.js',
'webapp/sportsfronter/static/webapp/js/ios/*.js'
],
frameworks: ['jasmine'],
browsers: ['PhantomJS'],
plugins: [
'karma-junit-reporter',
'karma-phantomjs-launcher',
'karma-jasmine'
],
junitReporter: {
outputFile: 'dist/unit.xml'
}
});
};