feat: migrate everything to standalone and fix build errors

This commit is contained in:
Enea Jahollari
2023-09-25 12:43:29 +02:00
parent 4171ccc8f3
commit 54614c21f0
1311 changed files with 13140 additions and 8009 deletions

View File

@@ -55,17 +55,16 @@ describe('MenuComponent', () => {
});
TestBed.configureTestingModule({
imports: [TranslateModule.forRoot(), NoopAnimationsModule, RouterTestingModule],
declarations: [MenuComponent],
providers: [
imports: [TranslateModule.forRoot(), NoopAnimationsModule, RouterTestingModule, MenuComponent],
providers: [
Injector,
{ provide: ThemeService, useValue: getMockThemeService() },
{ provide: MenuService, useClass: MenuServiceStub },
{ provide: AuthorizationDataService, useValue: authorizationService },
{ provide: ActivatedRoute, useValue: routeStub },
],
schemas: [NO_ERRORS_SCHEMA]
}).overrideComponent(MenuComponent, {
],
schemas: [NO_ERRORS_SCHEMA]
}).overrideComponent(MenuComponent, {
set: { changeDetection: ChangeDetectionStrategy.Default }
}).compileComponents();
}));