diff --git a/src/app/community-list-page/community-list/community-list.component.spec.ts b/src/app/community-list-page/community-list/community-list.component.spec.ts index 2120df62fa..ce6b27dbeb 100644 --- a/src/app/community-list-page/community-list/community-list.component.spec.ts +++ b/src/app/community-list-page/community-list/community-list.component.spec.ts @@ -194,8 +194,9 @@ describe('CommunityListComponent', () => { }, }), CdkTreeModule, - RouterTestingModule], - declarations: [CommunityListComponent, RouterLinkWithHref], + RouterTestingModule, + RouterLinkWithHref], + declarations: [CommunityListComponent], providers: [CommunityListComponent, { provide: CommunityListService, useValue: communityListServiceStub },], schemas: [CUSTOM_ELEMENTS_SCHEMA],