mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
ESLint: fix dangling commas
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Load the implementations that should be tested
|
||||
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||
import { ComponentFixture, inject, TestBed, waitForAsync, } from '@angular/core/testing';
|
||||
import { ComponentFixture, inject, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { By } from '@angular/platform-browser';
|
||||
|
||||
import { of as observableOf } from 'rxjs';
|
||||
@@ -29,7 +29,7 @@ const sectionState = {
|
||||
errorsToShow: [],
|
||||
serverValidationErrors: [],
|
||||
isLoading: false,
|
||||
isValid: false
|
||||
isValid: false,
|
||||
} as any;
|
||||
|
||||
const sectionObject: SectionDataObject = {
|
||||
@@ -40,7 +40,7 @@ const sectionObject: SectionDataObject = {
|
||||
serverValidationErrors: [],
|
||||
header: 'submit.progressbar.describe.stepone',
|
||||
id: 'traditionalpageone',
|
||||
sectionType: SectionsType.SubmissionForm
|
||||
sectionType: SectionsType.SubmissionForm,
|
||||
};
|
||||
|
||||
describe('SubmissionSectionContainerComponent test suite', () => {
|
||||
@@ -68,7 +68,7 @@ describe('SubmissionSectionContainerComponent test suite', () => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [
|
||||
NgbModule,
|
||||
TranslateModule.forRoot()
|
||||
TranslateModule.forRoot(),
|
||||
],
|
||||
declarations: [
|
||||
SubmissionSectionContainerComponent,
|
||||
@@ -78,9 +78,9 @@ describe('SubmissionSectionContainerComponent test suite', () => {
|
||||
providers: [
|
||||
{ provide: SectionsService, useValue: sectionsServiceStub },
|
||||
{ provide: SubmissionService, useValue: submissionServiceStub },
|
||||
SubmissionSectionContainerComponent
|
||||
SubmissionSectionContainerComponent,
|
||||
],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
||||
}).compileComponents();
|
||||
|
||||
}));
|
||||
@@ -226,7 +226,7 @@ describe('SubmissionSectionContainerComponent test suite', () => {
|
||||
@Component({
|
||||
// eslint-disable-next-line @angular-eslint/component-selector
|
||||
selector: '',
|
||||
template: ``
|
||||
template: ``,
|
||||
})
|
||||
class TestComponent {
|
||||
|
||||
|
@@ -11,7 +11,7 @@ import { AlertType } from '../../../shared/alert/aletr-type';
|
||||
@Component({
|
||||
selector: 'ds-submission-section-container',
|
||||
templateUrl: './section-container.component.html',
|
||||
styleUrls: ['./section-container.component.scss']
|
||||
styleUrls: ['./section-container.component.scss'],
|
||||
})
|
||||
export class SubmissionSectionContainerComponent implements OnInit {
|
||||
|
||||
@@ -68,7 +68,7 @@ export class SubmissionSectionContainerComponent implements OnInit {
|
||||
{ provide: 'sectionDataProvider', useFactory: () => (this.sectionData), deps: [] },
|
||||
{ provide: 'submissionIdProvider', useFactory: () => (this.submissionId), deps: [] },
|
||||
],
|
||||
parent: this.injector
|
||||
parent: this.injector,
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user