-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
57 lines (46 loc) · 1.21 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
var APP = 'dcs-app/'
var JS = APP+'www/js/';
var SPECS = 'test/unit/';
module.exports = function(config){
config.set({
files : [
JS+'lib/angular.js',
JS+'lib/underscore-min.js',
JS+'lib/*.js',
JS+'dcsApp.js',
JS+'routes.js',
JS+'controllers/*.js',
JS+'services/*.js',
JS+'modules/device-handler.js',
JS+'modules/file-handler.js',
JS+'modules/*.js',
SPECS+'mocks.js',
SPECS+'button-factory-specs.js',
SPECS+'correlated-forms-specs.js',
SPECS+'file-handler-specs.js',
SPECS+'project-controller-tests.js',
//SPECS+'submission-controller-specs.js',
{ pattern: APP+'www/i18n/resourceBundle.json',
watched: true,
served: true,
included: false
},
{ pattern: SPECS+'xform_html.html',
watched: true,
served: true,
included: false
}
],
frameworks: ['jasmine-jquery', 'jasmine'],
browsers : ['Chrome'],
plugins : [
'karma-chrome-launcher',
'karma-jasmine',
'karma-jasmine-jquery'
],
junitReporter : {
outputFile: 'test_out/unit.xml',
suite: 'unit'
}
});
};