Commits

Tim Donohue authored and GitHub committed 8218ed595a6 Merge
Merge pull request #2257 from tdonohue/fix_community_list_spec

Fix several specs/tests on `main`
No tags
gidlmaster

src/app/community-list-page/community-list/community-list.component.spec.ts

Modified
187 187 };
188 188 TestBed.configureTestingModule({
189 189 imports: [
190 190 TranslateModule.forRoot({
191 191 loader: {
192 192 provide: TranslateLoader,
193 193 useClass: TranslateLoaderMock
194 194 },
195 195 }),
196 196 CdkTreeModule,
197 - RouterTestingModule],
198 - declarations: [CommunityListComponent, RouterLinkWithHref],
197 + RouterTestingModule,
198 + RouterLinkWithHref],
199 + declarations: [CommunityListComponent],
199 200 providers: [CommunityListComponent,
200 201 { provide: CommunityListService, useValue: communityListServiceStub },],
201 202 schemas: [CUSTOM_ELEMENTS_SCHEMA],
202 203 })
203 204 .compileComponents();
204 205 }));
205 206
206 207 beforeEach(() => {
207 208 fixture = TestBed.createComponent(CommunityListComponent);
208 209 component = fixture.componentInstance;

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut