Remove circulary dependency

This commit is contained in:
Yana De Pauw
2025-02-17 12:59:58 +01:00
parent ea53111aa1
commit 8b9af3b04c
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
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);
orderedProviderTypeList.forEach((provider, index) => {