-
Notifications
You must be signed in to change notification settings - Fork 15
/
karma.conf.js
33 lines (31 loc) · 905 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
'use strict';
// Karma configuration
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
frameworks: ['jasmine'],
files: [
'vendor/jquery-3.2.1/jquery-3.2.1.min.js',
'vendor/angular-1.6.6/angular.min.js',
'vendor/angular-1.6.6/angular-mocks.js',
'js/*.js',
'tests/specs/*.spec.js',
// fixtures
{
pattern: 'data/*.json',
watched: false,
served: true,
included: false
}
],
proxies: {
"/data/": "/base/data/"
},
logLevel: config.LOG_INFO,
browsers: ['Chrome', 'Firefox', 'PhantomJS'],
reporters: ['dots', 'coverage'],
preprocessors: {
'js/*.js': ['coverage']
}
})
};