-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkarma.ci.conf.js
45 lines (37 loc) · 955 Bytes
/
karma.ci.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
34
35
36
37
38
39
40
41
42
43
44
45
'use strict';
module.exports = function(config) {
config.set({
basePath: '.',
frameworks: ['browserify', 'mocha', 'chai'],
autoWatch: false,
singleRun: true,
browsers: ['ChromeHeadless'],
autoWatchBatchDelay: 300,
files: [
'./node_modules/angular/angular.js',
'./node_modules/angular-mocks/angular-mocks.js',
'./src/util/mock-component.js',
'./dist/angularjs-mdc.min.js',
'./src/**/*.spec.js',
],
preprocessors: {
'./src/**/*.spec.js': ['browserify'],
},
reporters: ['mocha', 'junit'],
browserify: {
debug: true,
transform: [['babelify', {'presets': ['es2015']}]],
},
junitReporter: {
outputDir: './test/junit',
outputFile: 'junit.xml',
suite: 'karma-angularjs-mdc',
useBrowserName: false,
},
browserConsoleLogOptions: {
level: 'debug',
format: '%b %T: %m',
terminal: false,
},
});
};