mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 04:23:04 +00:00
76654: Implement feedback
This commit is contained in:
@@ -13,6 +13,7 @@ import { EnumKeysPipe } from '../utils/enum-keys-pipe';
|
||||
import { VarDirective } from '../utils/var.directive';
|
||||
import { SEARCH_CONFIG_SERVICE } from '../../+my-dspace-page/my-dspace-page.component';
|
||||
import { PaginationService } from '../../core/pagination/pagination.service';
|
||||
import { PaginationServiceStub } from '../testing/pagination-service.stub';
|
||||
|
||||
describe('PageSizeSelectorComponent', () => {
|
||||
|
||||
@@ -34,11 +35,7 @@ describe('PageSizeSelectorComponent', () => {
|
||||
sort
|
||||
};
|
||||
|
||||
const paginationService = jasmine.createSpyObj('PaginationService', {
|
||||
getCurrentPagination: observableOf(pagination),
|
||||
getCurrentSort: observableOf(sort),
|
||||
getRouteParameterValue: observableOf('')
|
||||
});
|
||||
const paginationService = new PaginationServiceStub(pagination, sort);
|
||||
|
||||
const activatedRouteStub = {
|
||||
queryParams: observableOf({
|
||||
|
Reference in New Issue
Block a user