Skip to content

Commit 991c251

Browse files
Fix the karma config, the configs were still using properties of the istanbul coverage plugin, while we switched to the karma coverage spec plugin since angular 11
1 parent 2e41f70 commit 991c251

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/application/files/karma.conf.js.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ module.exports = function (config) {
2929
{ type: 'html' },
3030
{ type: 'text-summary' }
3131
],
32-
thresholds: {
33-
emitWarning: false,
32+
check: {
3433
global: {
3534
statements: 100,
3635
lines: 100,

src/library/files/karma.conf.js.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ module.exports = function (config) {
2929
{ type: 'html' },
3030
{ type: 'text-summary' }
3131
],
32-
thresholds: {
33-
emitWarning: false,
32+
check: {
3433
global: {
3534
statements: 100,
3635
lines: 100,

0 commit comments

Comments
 (0)