From c1d870c32d41bb5c4fec4dc0c976aa7b337007c3 Mon Sep 17 00:00:00 2001 From: Yura Bondarenko Date: Fri, 11 Mar 2022 14:42:02 +0100 Subject: [PATCH] 87968: Clean up after automatic upgrade - Get rid of missed empty routerLinks - Fix abstract property initializers - Specify coverage reporter --- karma.conf.js | 2 +- .../community-list/community-list.component.html | 2 +- .../file-section/file-section.component.html | 4 ++-- .../metadata-representation-list.component.html | 4 ++-- .../simple/related-items/related-items.component.html | 4 ++-- .../models/dynamic-vocabulary.component.ts | 6 +++--- .../browse-entry-list-element.component.html | 2 +- .../shared/starts-with/text/starts-with-text.component.html | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index 24cd067fd1..8418312b1a 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -22,7 +22,7 @@ module.exports = function (config) { reports: ['html', 'lcovonly', 'text-summary'], fixWebpackSourcePaths: true }, - reporters: ['mocha', 'kjhtml'], + reporters: ['mocha', 'kjhtml', 'coverage-istanbul'], mochaReporter: { ignoreSkipped: true, output: 'autowatch' diff --git a/src/app/community-list-page/community-list/community-list.component.html b/src/app/community-list-page/community-list/community-list.component.html index 68df5dc15f..f441dfa36e 100644 --- a/src/app/community-list-page/community-list/community-list.component.html +++ b/src/app/community-list-page/community-list/community-list.component.html @@ -8,7 +8,7 @@
- {{ 'communityList.showMore' | translate }} diff --git a/src/app/item-page/simple/field-components/file-section/file-section.component.html b/src/app/item-page/simple/field-components/file-section/file-section.component.html index c043de4253..3d093f83c9 100644 --- a/src/app/item-page/simple/field-components/file-section/file-section.component.html +++ b/src/app/item-page/simple/field-components/file-section/file-section.component.html @@ -8,10 +8,10 @@
diff --git a/src/app/item-page/simple/metadata-representation-list/metadata-representation-list.component.html b/src/app/item-page/simple/metadata-representation-list/metadata-representation-list.component.html index 7da863febd..d1281f450a 100644 --- a/src/app/item-page/simple/metadata-representation-list/metadata-representation-list.component.html +++ b/src/app/item-page/simple/metadata-representation-list/metadata-representation-list.component.html @@ -7,11 +7,11 @@
diff --git a/src/app/item-page/simple/related-items/related-items.component.html b/src/app/item-page/simple/related-items/related-items.component.html index cede6f1d71..11cedc4040 100644 --- a/src/app/item-page/simple/related-items/related-items.component.html +++ b/src/app/item-page/simple/related-items/related-items.component.html @@ -7,11 +7,11 @@
diff --git a/src/app/shared/form/builder/ds-dynamic-form-ui/models/dynamic-vocabulary.component.ts b/src/app/shared/form/builder/ds-dynamic-form-ui/models/dynamic-vocabulary.component.ts index e277648b39..4c24443633 100644 --- a/src/app/shared/form/builder/ds-dynamic-form-ui/models/dynamic-vocabulary.component.ts +++ b/src/app/shared/form/builder/ds-dynamic-form-ui/models/dynamic-vocabulary.component.ts @@ -28,9 +28,9 @@ export abstract class DsDynamicVocabularyComponent extends DynamicFormControlCom @Input() abstract group: FormGroup; @Input() abstract model: DsDynamicInputModel; - @Output() abstract blur: EventEmitter = new EventEmitter(); - @Output() abstract change: EventEmitter = new EventEmitter(); - @Output() abstract focus: EventEmitter = new EventEmitter(); + @Output() abstract blur: EventEmitter; + @Output() abstract change: EventEmitter; + @Output() abstract focus: EventEmitter; public abstract pageInfo: PageInfo; diff --git a/src/app/shared/object-list/browse-entry-list-element/browse-entry-list-element.component.html b/src/app/shared/object-list/browse-entry-list-element/browse-entry-list-element.component.html index 1c5b96df4b..8577ee654c 100644 --- a/src/app/shared/object-list/browse-entry-list-element/browse-entry-list-element.component.html +++ b/src/app/shared/object-list/browse-entry-list-element/browse-entry-list-element.component.html @@ -1,5 +1,5 @@
- + {{object.value}} diff --git a/src/app/shared/starts-with/text/starts-with-text.component.html b/src/app/shared/starts-with/text/starts-with-text.component.html index 7a93adf7ac..ff808004e4 100644 --- a/src/app/shared/starts-with/text/starts-with-text.component.html +++ b/src/app/shared/starts-with/text/starts-with-text.component.html @@ -3,7 +3,7 @@