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', () => {
|
describe('on upload complete', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
sectionsServiceStub.isSectionType.and.callFake((submissionId, sectionId, sectionType) => {
|
sectionsServiceStub.isSectionType.and.callFake((_, sectionId, __) => observableOf(sectionId === 'upload'));
|
||||||
return observableOf(sectionId === 'upload')
|
|
||||||
});
|
|
||||||
compAsAny.uploadEnabled = observableOf(true);
|
compAsAny.uploadEnabled = observableOf(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user