mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merge ISA 2.0 into Develop Related work items: #1098, #2592, #2630, #2633, #2635, #2639, #2706, #2707, #2813, #2818, #2825, #2843, #2846, #2847, #2848, #2851, #2852, #2853, #2897, #2900
45 lines
1.5 KiB
JavaScript
45 lines
1.5 KiB
JavaScript
// Karma configuration file, see link for more information
|
|
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
|
|
const customLaunchers = require('../../karma/custom-launchers');
|
|
const junitReporter = require('../../karma/junit-reporter')('isa-app');
|
|
const coverageReporter = require('../../karma/coverage-reporter')('isa-app');
|
|
|
|
module.exports = function (config) {
|
|
config.set({
|
|
basePath: '',
|
|
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
plugins: [
|
|
require('karma-jasmine'),
|
|
require('karma-chrome-launcher'),
|
|
require('karma-jasmine-html-reporter'),
|
|
require('karma-coverage'),
|
|
require('karma-junit-reporter'),
|
|
require('@angular-devkit/build-angular/plugins/karma'),
|
|
],
|
|
client: {
|
|
jasmine: {
|
|
// you can add configuration options for Jasmine here
|
|
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
|
// for example, you can disable the random execution with `random: false`
|
|
// or set a specific seed with `seed: 4321`
|
|
},
|
|
clearContext: false, // leave Jasmine Spec Runner output visible in browser
|
|
},
|
|
jasmineHtmlReporter: {
|
|
suppressAll: true, // removes the duplicated traces
|
|
},
|
|
coverageReporter,
|
|
junitReporter,
|
|
reporters: ['progress', 'kjhtml'],
|
|
port: 9876,
|
|
colors: true,
|
|
logLevel: config.LOG_INFO,
|
|
autoWatch: true,
|
|
browsers: ['Chrome'],
|
|
customLaunchers,
|
|
singleRun: false,
|
|
restartOnFileChange: true,
|
|
});
|
|
};
|