mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 14:33:03 +00:00
fix ProcessOverviewComponent tests
This commit is contained in:
@@ -18,6 +18,7 @@ import { DatePipe } from '@angular/common';
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
import { ProcessBulkDeleteService } from './process-bulk-delete.service';
|
||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { PaginationComponent } from '../../shared/pagination/pagination.component';
|
||||
|
||||
describe('ProcessOverviewComponent', () => {
|
||||
let component: ProcessOverviewComponent;
|
||||
@@ -120,7 +121,11 @@ describe('ProcessOverviewComponent', () => {
|
||||
{ provide: NgbModal, useValue: modalService },
|
||||
],
|
||||
schemas: [NO_ERRORS_SCHEMA]
|
||||
}).compileComponents();
|
||||
})
|
||||
.overrideComponent(ProcessOverviewComponent, {
|
||||
remove: {imports: [PaginationComponent]}
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
|
Reference in New Issue
Block a user