forked from hkpeterpeter/teamform-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.js
43 lines (41 loc) · 864 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
//jshint strict: false
module.exports = function(config) {
config.set({
basePath: './app',
frameworks: ['jasmine'],
files: [
'lib/jquery.min.js',
'lib/angular.min.js',
'lib/angular-route.min.js',
'lib/angular-mocks.js',
'lib/firebase.js',
'lib/angularfire.min.js',
'js/*.js',
'unit_tests/*.js'
],
exclude: [
],
preprocessors: {
'js/site.js' : ['coverage'],
'js/index.js' : ['coverage'],
'js/admin.js' : ['coverage'],
'js/team.js' : ['coverage'],
'js/member.js' : ['coverage']
},
reporters: ['progress', 'coverage'],
coverageReporter: {
type: 'html',
dir: 'coverage/',
subdir: '.'
},
port: 8080,
colors: true,
browsers: ['Chrome'],
singleRun: true,
plugins: [
'karma-chrome-launcher',
'karma-jasmine',
'karma-coverage'
]
});
};