mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Fix lint issues
This commit is contained in:
@@ -150,9 +150,7 @@ describe('SubmissionUploadFilesComponent Component', () => {
|
||||
|
||||
describe('on upload complete', () => {
|
||||
beforeEach(() => {
|
||||
sectionsServiceStub.isSectionType.and.callFake((submissionId, sectionId, sectionType) => {
|
||||
return observableOf(sectionId === 'upload')
|
||||
});
|
||||
sectionsServiceStub.isSectionType.and.callFake((_, sectionId, __) => observableOf(sectionId === 'upload'));
|
||||
compAsAny.uploadEnabled = observableOf(true);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user