mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-19 07:53:02 +00:00
ESLint: fix dangling commas
This commit is contained in:
@@ -41,12 +41,12 @@ let comp: AppComponent;
|
||||
let fixture: ComponentFixture<AppComponent>;
|
||||
const menuService = new MenuServiceStub();
|
||||
const initialState = {
|
||||
core: { auth: { loading: false } }
|
||||
core: { auth: { loading: false } },
|
||||
};
|
||||
|
||||
export function getMockLocaleService(): LocaleService {
|
||||
return jasmine.createSpyObj('LocaleService', {
|
||||
setCurrentLanguageCode: jasmine.createSpy('setCurrentLanguageCode')
|
||||
setCurrentLanguageCode: jasmine.createSpy('setCurrentLanguageCode'),
|
||||
});
|
||||
}
|
||||
|
||||
@@ -64,8 +64,8 @@ describe('App component', () => {
|
||||
TranslateModule.forRoot({
|
||||
loader: {
|
||||
provide: TranslateLoader,
|
||||
useClass: TranslateLoaderMock
|
||||
}
|
||||
useClass: TranslateLoaderMock,
|
||||
},
|
||||
}),
|
||||
],
|
||||
declarations: [AppComponent], // declare the test component
|
||||
@@ -85,9 +85,9 @@ describe('App component', () => {
|
||||
{ provide: APP_CONFIG, useValue: environment },
|
||||
provideMockStore({ initialState }),
|
||||
AppComponent,
|
||||
RouteService
|
||||
RouteService,
|
||||
],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user