forked from coatue-oss/react2angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
32 lines (32 loc) · 807 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
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['source-map-support', 'browserify', 'jasmine'],
files: [
'./test.js'
],
preprocessors: {
'*.js': ['browserify']
},
browserify: {
debug: true,
external: ['angular', 'angular-mocks'],
extensions: ['.js'],
transform: ['rollupify']
},
reporters: ['mocha'],
port: 9876,
colors: true,
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_WARN,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false,
concurrency: Infinity,
browserConsoleLogOptions: {
level: 'log',
terminal: true
},
browserDisconnectTolerance: 30
})
}