Skip to content
Snippets Groups Projects
Commit c9206c18 authored by wtaisner@man.poznan.pl's avatar wtaisner@man.poznan.pl
Browse files

update karma, remove some redundant packages

parent 0fb989cd
No related branches found
No related tags found
No related merge requests found
...@@ -7,11 +7,9 @@ module.exports = function (config) { ...@@ -7,11 +7,9 @@ module.exports = function (config) {
frameworks: ['jasmine', '@angular-devkit/build-angular'], frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [ plugins: [
require('karma-jasmine'), require('karma-jasmine'),
require('karma-babel-preprocessor'), require('karma-coverage'),
require('karma-chrome-launcher'), require('karma-chrome-launcher'),
require('karma-webpack'),
require('karma-jasmine-html-reporter'), require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('@angular-devkit/build-angular/plugins/karma'), require('@angular-devkit/build-angular/plugins/karma'),
], ],
customLaunchers: { customLaunchers: {
...@@ -28,19 +26,17 @@ module.exports = function (config) { ...@@ -28,19 +26,17 @@ module.exports = function (config) {
client: { client: {
clearContext: false clearContext: false
}, },
files: [ files: [],
],
preprocessors: {}, preprocessors: {},
mime: { mime: {
'text/x-typescript': ['ts', 'tsx'] 'text/x-typescript': ['ts', 'tsx']
}, },
coverageIstanbulReporter: { coverageReporter: {
dir: require('path').join(__dirname, 'coverage'), reports: [ 'html', 'lcovonly' ], dir: 'coverage',
fixWebpackSourcePaths: true, reporters: [
thresholds: { {type: 'html', subdir: '.'},
statements: 30 {type: 'lcovonly', subdir: '.', file: 'lcov.info'},
} ]
}, },
reporters: ['progress'], reporters: ['progress'],
... ...
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment