2016-12-31 14:50:40 -05:00

42 lines
1.0 KiB
JavaScript

module.exports = function (config)
{
config.set({
basePath: '',
frameworks: ['jasmine', 'karma-typescript'],
files: [
'./src/**/*.spec.ts'
],
exclude: [
],
preprocessors: {
'./src/**/*.spec.ts': ['karma-typescript']
},
typescriptPreprocessor: {
options: {
sourceMap: false,
target: 'ES5',
module: 'amd',
noImplicitAny: true,
noResolve: true,
removeComments: true,
concatenateOutput: false
},
transformPath: function (path)
{
return path.replace(/\.ts$/, '.js');
}
},
reporters: ['progress', 'karma-typescript'],
port: 9876,
colors: true,
logLevel: config.LOG_DEBUG,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false,
concurrency: Infinity
})
}