[DURACOM-191] fix some tests

This commit is contained in:
Andrea Barbasso
2024-03-14 12:55:09 +01:00
parent 0b78b042c9
commit 981597cb19
13 changed files with 72 additions and 13 deletions

View File

@@ -48,7 +48,13 @@ describe('BrowseByPageComponent', () => {
{ provide: ActivatedRoute, useValue: activatedRoute },
{ provide: ThemeService, useValue: themeService },
],
}).compileComponents();
})
.overrideComponent(BrowseByPageComponent, {
remove: {
imports: [BrowseBySwitcherComponent],
},
})
.compileComponents();
fixture = TestBed.createComponent(BrowseByPageComponent);
component = fixture.componentInstance;