-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathkarma.conf.js
More file actions
36 lines (28 loc) · 802 Bytes
/
karma.conf.js
File metadata and controls
36 lines (28 loc) · 802 Bytes
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
'use strict';
module.exports = function (config) {
config.set({
files: [
'node_modules/angular/angular.js',
'node_modules/angular-mocks/angular-mocks.js',
'node_modules/linkheader-parser/dist/linkheader-parser-browser.js',
'node_modules/mediatype-parser/dist/mediatype-parser-browser.js',
'node_modules/uri-templates/uri-templates.js',
'src/*.js'
],
autoWatch: true,
frameworks: ['jasmine'],
browsers: ['PhantomJS2'],
preprocessors: {
'src/**/!(*.spec)+(.js)': ['coverage']
},
reporters: ['progress', 'coverage'],
coverageReporter: {
dir: 'build/coverage',
reporters: [
{type: 'text-summary'},
{type: 'html', subdir: '.'},
{type: 'lcovonly', subdir: '.'}
]
}
});
};