forked from JustinPealing/html-query-plan
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkarma.config.js
37 lines (37 loc) · 829 Bytes
/
karma.config.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
var webpackConfig = require('./webpack.config');
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['mocha'],
files: [
'test/*_test.ts'
],
exclude: [],
preprocessors: {
'test/**/*_test.ts': ['webpack']
},
webpack: {
module: webpackConfig.module,
resolve: webpackConfig.resolve,
devtool: 'inline-source-map'
},
mime: {
"text/x-typescript": ["ts"]
},
reporters: ['progress'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome', 'Firefox'],
//browsers: ['Chrome', 'Firefox', 'IE', 'IE9'],
customLaunchers: {
IE9: {
base: 'IE',
'x-ua-compatible': 'IE=EmulateIE9'
}
},
singleRun: false,
concurrency: Infinity
})
}