1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-21 01:22:08 +02:00
pigallery2/karma.conf.js

34 lines
1015 B
JavaScript
Raw Permalink Normal View History

// 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: '',
2018-05-23 02:27:07 +02:00
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
2018-03-30 21:30:30 +02:00
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
2018-05-23 02:27:07 +02:00
require('@angular-devkit/build-angular/plugins/karma')
],
2017-07-15 17:48:29 +02:00
client: {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
2018-05-23 02:27:07 +02:00
dir: require('path').join(__dirname, 'coverage'), reports: ['html', 'lcovonly'],
fixWebpackSourcePaths: true
},
angularCli: {
environment: 'dev'
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
2018-07-28 23:36:43 +02:00
autoWatch: false,
2018-03-30 21:30:30 +02:00
browsers: ["ChromeHeadless"],
2018-07-28 23:36:43 +02:00
singleRun: true
});
};