-
Notifications
You must be signed in to change notification settings - Fork 2
/
karma.conf.js
30 lines (29 loc) · 884 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
'use strict';
module.exports = function (configuration) {
configuration.set({
autoWatch: false,
basePath: '',
browsers: ['PhantomJS'],
colors: true,
concurrency: Infinity,
coverageReporter: {
dir: 'reports',
subdir: '.',
type: 'lcov'
},
files: [
'node_modules/angular/angular.js',
'node_modules/angular-mocks/angular-mocks.js',
'node_modules/draggabilly/dist/draggabilly.pkgd.min.js',
'node_modules/packery/dist/packery.pkgd.min.js',
'src/**/*.js',
'test/**/*.spec.js'
],
frameworks: ['jasmine'],
logLevel: configuration.LOG_INFO,
port: 9876,
preprocessors: { 'src/**/*.js': ['coverage'] },
reporters: ['dots', 'coverage'],
singleRun: true
});
};