mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-25 16:29:49 -04:00
42 lines
1.0 KiB
JavaScript
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
|
|
})
|
|
} |