forked from doshprompt/angular-localization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.js
39 lines (29 loc) · 781 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
module.exports = function (config) {
'use strict';
config.set({
files : [
'lib/angular/angular.js',
'lib/angular-cookies/angular-cookies.js',
'lib/angular-sanitize/angular-sanitize.js',
'lib/angular-mocks/angular-mocks.js',
'src/**/*.module.js',
'src/**/*.js',
'tests/unit/**/*.js'
],
frameworks: [ 'jasmine' ],
singleRun: true,
browsers : [ 'PhantomJS' ],
preprocessors: {
'src/**/*.js': [ 'coverage' ]
},
reporters: [
'progress',
'coverage'
],
coverageReporter: {
type: 'lcov',
dir: 'coverage',
subdir: '.'
}
});
};