forked from MicroHealthLLC/mFiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.js
48 lines (40 loc) · 1.45 KB
/
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
module.exports = function (config) {
config.set({
basePath: './',
files: [
'public/assets/js/jquery-1.11.1.js',
'public/assets/js/angular-1.2.21/angular.js',
'public/assets/js/angular-1.2.21/angular-route.js',
'public/assets/js/angular-1.2.21/angular-animate.js',
'public/assets/js/angular-1.2.21/angular-mocks.js',
'public/assets/js/angulartics-0.16.1/src/angulartics.js',
'public/assets/js/angulartics-0.16.1/src/angulartics-piwik.js',
'public/assets/js/*.js',
'public/assets/js/ui-bootstrap-0.11.0.js',
'public/modules/**/module.js',
'public/modules/**/*.js',
'public/config.js',
'public/app.js',
'tests/**/crypto_test.js',
'tests/**/detectCrawlerService_test.js',
'tests/**/randomService_test.js',
'tests/**/downloadController_test.js',
'tests/**/peeringService_test.js'
],
autoWatch: true,
frameworks: ['jasmine'],
browsers: ['PhantomJS'],
plugins: [
'karma-phantomjs-launcher',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-ie-launcher',
'karma-jasmine',
'karma-junit-reporter'
],
junitReporter: {
outputFile: 'test_out/unit.xml',
suite: 'unit'
}
});
};