forked from JeetShetty/GreenPiThumb_Frontend_static
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
50 lines (36 loc) · 921 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
41
42
43
44
45
46
47
48
49
50
// Karma configuration
// Generated on Sat Feb 18 2017 09:33:16 GMT-0500 (EST)
module.exports = function(config) {
config.set({
basePath: './app',
frameworks: ['jasmine'],
files: [
'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',
'bower_components/d3/d3.js',
'*.js',
'components/**/*.js',
'services/**/*.js',
'directives/**/*.js'
],
exclude: [
],
preprocessors: {
'app.js': ['coverage'],
'components/**/*.js': ['coverage'],
'services/**/*.js': ['coverage'],
'directives/**/*.js': ['coverage']
},
reporters: ['progress', 'coverage'],
coverageReporter: {
type: 'lcov',
dir: '../coverage/'
},
port: 8000,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: false,
browsers: ['PhantomJS2'],
concurrency: Infinity
});
};