forked from Zhangjd/dejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.conf.js
More file actions
32 lines (32 loc) · 728 Bytes
/
Copy pathkarma.conf.js
File metadata and controls
32 lines (32 loc) · 728 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
32
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine', 'browserify'],
files: [
'__tests__/lib/*.js',
'__tests__/src/*.js'
],
exclude: [],
preprocessors: {
'__tests__/src/*.js': ['browserify']
},
browserify: {
debug: true,
transform: [require('browserify-istanbul')({
instrumenter: require('isparta'),
ignore: ['**/__tests__/**']
}), 'babelify']
},
reporters: ['progress', 'coverage'],
coverageReporter: {
type: 'lcov'
},
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: false,
browsers: ['Chrome'],
singleRun: true,
concurrency: Infinity
})
}