mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 06:53:03 +00:00
Existing community list test fixes
This commit is contained in:
@@ -118,9 +118,21 @@ describe('CommunityListComponent', () => {
|
||||
topCurrentPage: 1,
|
||||
collectionPageSize: 2,
|
||||
subcommunityPageSize: 2,
|
||||
expandedNodes: [],
|
||||
loadingNode: null,
|
||||
getNextPageTopCommunities() {
|
||||
this.topCurrentPage++;
|
||||
},
|
||||
getLoadingNodeFromStore() {
|
||||
return observableOf(this.loadingNode);
|
||||
},
|
||||
getExpandedNodesFromStore() {
|
||||
return observableOf(this.expandedNodes);
|
||||
},
|
||||
saveCommunityListStateToStore(expandedNodes, loadingNode) {
|
||||
this.expandedNodes = expandedNodes;
|
||||
this.loadingNode = loadingNode;
|
||||
},
|
||||
loadCommunities(expandedNodes) {
|
||||
let flatnodes;
|
||||
let showMoreTopComNode = false;
|
||||
|
Reference in New Issue
Block a user