mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-26 17:10:11 -04:00

* added jasmine and karma (they don't work yet...) * fixed bug in strongs display (hebrews failed because of no rmac) * added option to append to bottom of list instead of top * fixed duplicate es6 shim reference * added function to automatically upgrade user profile
48 lines
1.3 KiB
JavaScript
48 lines
1.3 KiB
JavaScript
module.exports = function (config)
|
|
{
|
|
config.set({
|
|
basePath: '',
|
|
frameworks: ['jasmine', 'karma-typescript'],
|
|
|
|
files: [
|
|
'./src/polyfills.ts',
|
|
'./src/mocks.ts',
|
|
'./src/**/*.ts',
|
|
'./src/**/*.spec.ts'
|
|
],
|
|
|
|
exclude: [
|
|
],
|
|
|
|
preprocessors: {
|
|
'./src/polyfills.ts': ['karma-typescript'],
|
|
'./src/mocks.ts': ['karma-typescript'],
|
|
'./src/**/*.ts': ['karma-typescript'],
|
|
'./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
|
|
})
|
|
} |