mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-15 15:55:54 +01:00
d2b024ff43
FIX ErrorObj from TRESTClient
39 lines
971 B
JavaScript
39 lines
971 B
JavaScript
// Karma configuration file, see link for more information
|
|
// https://karma-runner.github.io/0.13/config/configuration-file.html
|
|
|
|
module.exports = function (config) {
|
|
config.set({
|
|
basePath: '',
|
|
frameworks: ['jasmine', 'angular-cli'],
|
|
plugins: [
|
|
require('karma-jasmine'),
|
|
require('karma-chrome-launcher'),
|
|
require('karma-remap-istanbul'),
|
|
require('angular-cli/plugins/karma')
|
|
],
|
|
files: [
|
|
{ pattern: './src/test.ts', watched: false }
|
|
],
|
|
preprocessors: {
|
|
'./src/test.ts': ['angular-cli']
|
|
},
|
|
remapIstanbulReporter: {
|
|
reports: {
|
|
html: 'coverage',
|
|
lcovonly: './coverage/coverage.lcov'
|
|
}
|
|
},
|
|
angularCli: {
|
|
config: './angular-cli.json',
|
|
environment: 'dev'
|
|
},
|
|
reporters: ['progress', 'karma-remap-istanbul'],
|
|
port: 9876,
|
|
colors: true,
|
|
logLevel: config.LOG_INFO,
|
|
autoWatch: true,
|
|
browsers: ['Chrome'],
|
|
singleRun: false
|
|
});
|
|
};
|