From 6ecfba218e87d762f5db4826794f79209c4c011d Mon Sep 17 00:00:00 2001 From: Younes Jaaidi Date: Fri, 23 Feb 2024 01:36:52 +0100 Subject: [PATCH] test(ct-angular): fix all angular tests --- tests/components/ct-angular/playwright/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)],