mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Remove circulary dependency
This commit is contained in:
@@ -100,12 +100,12 @@ describe('buildMenuStructure', () => {
|
|||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
it('should have a double amount of objects with an additional service after the processing', () => {
|
it('should have a double amount of objects after the processing', () => {
|
||||||
const result = buildMenuStructure(providerStructure);
|
const result = buildMenuStructure(providerStructure);
|
||||||
expect(result.length).toEqual(orderedProviderTypeList.length * 2);
|
expect(result.length).toEqual(orderedProviderTypeList.length * 2);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should return a list with the MenuProviderService and then a resolved provider and provider type for each provider in the provided structure', () => {
|
it('should return a list with a resolved provider and provider type for each provider in the provided structure', () => {
|
||||||
const result = buildMenuStructure(providerStructure);
|
const result = buildMenuStructure(providerStructure);
|
||||||
|
|
||||||
orderedProviderTypeList.forEach((provider, index) => {
|
orderedProviderTypeList.forEach((provider, index) => {
|
||||||
|
Reference in New Issue
Block a user