From 8ba671e5235d4bcc64350903f3d9ddb402cc1507 Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Tue, 2 Sep 2025 11:15:33 +0200 Subject: [PATCH] docs: update import in testing docs --- .../src/app/features/examples/testing/testing.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/elements-demo/src/app/features/examples/testing/testing.component.ts b/projects/elements-demo/src/app/features/examples/testing/testing.component.ts index 4ea3fe6..99c808b 100644 --- a/projects/elements-demo/src/app/features/examples/testing/testing.component.ts +++ b/projects/elements-demo/src/app/features/examples/testing/testing.component.ts @@ -48,11 +48,11 @@ describe('FeatureComponent', () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [FeatureComponent, MockElementComponent], + imports: [FeatureComponent], }) .overrideComponent(FeatureComponent, { remove: { imports: [ LazyElementDirective ] }, - add: { imports: [ LazyElementTestingDirective ] } + add: { imports: [ LazyElementTestingDirective, MockElementComponent ] } }) .compileComponents(); });