-
Notifications
You must be signed in to change notification settings - Fork 1
/
karma.conf.js
33 lines (33 loc) · 1.49 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
module.exports = function(config) {
config.set({
basePath: './app/assets/javascripts',
files: [
'../../../vendor/assets/bower_components/angular/angular.js',
'../../../vendor/assets/bower_components/angular-route/angular-route.js',
'../../../vendor/assets/bower_components/angular-mocks/angular-mocks.js',
'../../../vendor/assets/bower_components/angular-resource/angular-resource.js',
'../../../vendor/assets/bower_components/angular-ui-router/release/angular-ui-router.js',
'../../../vendor/assets/bower_components/angular-nvd3/dist/angular-nvd3.js',
'../../../vendor/assets/bower_components/angularjs-nvd3-directives/dist/angularjs-nvd3-directives.js',
'../../../vendor/assets/bower_components/d3/d3.js',
'../../../vendor/assets/bower_components/nvd3/build/nv.d3.js',
'../../../vendor/assets/bower_components/angular-fullscreen/src/angular-fullscreen.js',
'../../../vendor/assets/bower_components/angular-animate/angular-animate.js',
'**/*.js',
'*.html',
],
autoWatch: true,
frameworks: ['jasmine'],
browsers: ['Firefox'],
plugins: [
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-jasmine',
'karma-junit-reporter',
],
junitReporter: {
outputFile: 'test_out/unit.xml',
suite: 'unit',
}
});
};