-
Notifications
You must be signed in to change notification settings - Fork 751
Expand file tree
/
Copy pathkarma.conf.js
More file actions
31 lines (31 loc) · 801 Bytes
/
karma.conf.js
File metadata and controls
31 lines (31 loc) · 801 Bytes
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
module.exports = function(config) {
'use strict';
config.set({
basePath: '',
frameworks: ['mocha', 'chai', 'sinon', 'sinon-chai'],
files: [
'node_modules/angular/angular.min.js',
'node_modules/chart.js/dist/Chart.min.js',
'node_modules/angular-mocks/angular-mocks.js',
'node_modules/chai-string/chai-string.js',
'dist/angular-chart.js',
'test/test.unit.js',
],
exclude: [],
preprocessors: {
'dist/angular-chart.js': ['coverage'],
},
reporters: ['progress', 'coverage'],
coverageReporter: {
type: 'lcov',
dir: 'coverage/',
},
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: false,
browsers: ['ChromeHeadless'],
singleRun: true,
concurrency: Infinity,
});
};