-
Notifications
You must be signed in to change notification settings - Fork 346
/
karma.conf.js
40 lines (32 loc) · 993 Bytes
/
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
module.exports = function(config){
config.set({
basePath : 'client',
files : [
'components/angular/angular.js',
'components/angular-cookies/angular-cookies.js',
'components/angular-mocks/angular-mocks.js',
'components/angular-ui-router/release/angular-ui-router.js',
'js/**/*.js',
'tests/unit/**/*.js'
],
/*exclude : [
'app/lib/angular/angular-loader.js',
'app/lib/angular/*.min.js',
'app/lib/angular/angular-scenario.js'
],*/
autoWatch : true,
frameworks: ['mocha', 'chai'],
browsers : ['Chrome'],
plugins : [
'karma-junit-reporter',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-mocha',
'karma-chai'
],
junitReporter : {
outputFile: 'test_out/unit.xml',
suite: 'unit'
}
})
};