forked from troch/angular-multi-step-form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.config.js
50 lines (44 loc) · 1.08 KB
/
karma.config.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
module.exports = function (config) {
config.set({
/**
* From where to look for files, starting with the location of this file.
*/
basePath: '',
/**
* This is the list of file patterns to load into the browser during testing.
*/
files: [
'bower_components/angular/angular.js',
'dist/browser/angular-multi-step-form.js',
// 'bower_components/angular-animate/angular-animate.js',
'bower_components/angular-mocks/angular-mocks.js',
'tests/*.js'
],
frameworks: [ 'jasmine' ],
plugins: [
'karma-jasmine',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-coverage',
'karma-coveralls'
],
/**
* How to report, by default.
*/
reporters: ['progress', 'coverage', 'coveralls'],
coverageReporter: {
dir: 'coverage',
reporters: [
{type: 'lcov'}
],
},
preprocessors: {
'src/**/*.js': ['coverage']
},
port: 9876,
colors: true,
singleRun: true,
autoWatch: false,
browsers: ['Chrome']
});
};