Fix lint issues

This commit is contained in:
Yura Bondarenko
2021-06-18 13:01:07 +02:00
parent 72e97ca6b4
commit a3ba4e59b3

View File

@@ -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);
}); });