mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge branch 'fix-tests-7.4' into fix-tests-upstream
This commit is contained in:
@@ -50,6 +50,7 @@ import { AccessControlRoutingModule } from '../../access-control/access-control-
|
||||
|
||||
@listableObjectComponent(BrowseEntry, ViewMode.ListElement, DEFAULT_CONTEXT, 'custom')
|
||||
@Component({
|
||||
// eslint-disable-next-line @angular-eslint/component-selector
|
||||
selector: '',
|
||||
template: ''
|
||||
})
|
||||
|
@@ -87,7 +87,7 @@ describe('PageSizeSelectorComponent', () => {
|
||||
const pageSizeSetting = fixture.debugElement.query(By.css('div.page-size-settings'));
|
||||
const childElementToBeSelected = pageSizeSetting.query(By.css('option[value="10"]'));
|
||||
expect(childElementToBeSelected).not.toBeNull();
|
||||
expect(childElementToBeSelected.nativeElement.selected).toBeTrue()
|
||||
expect(childElementToBeSelected.nativeElement.selected).toBeTrue();
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
@@ -224,6 +224,7 @@ describe('SubmissionSectionContainerComponent test suite', () => {
|
||||
|
||||
// declare a test component
|
||||
@Component({
|
||||
// eslint-disable-next-line @angular-eslint/component-selector
|
||||
selector: '',
|
||||
template: ``
|
||||
})
|
||||
|
Reference in New Issue
Block a user