diff --git a/tests/components/ct-angular/playwright/index.ts b/tests/components/ct-angular/playwright/index.ts index 7e314d2520..eea37a2089 100644 --- a/tests/components/ct-angular/playwright/index.ts +++ b/tests/components/ct-angular/playwright/index.ts @@ -12,7 +12,10 @@ export type HooksConfig = { }; beforeMount(async ({ hooksConfig, TestBed }) => { - + TestBed.configureTestingModule({ + imports: [ButtonComponent], + }); + if (hooksConfig?.routing) TestBed.configureTestingModule({ providers: [provideRouter(routes)],