From 3229eec581a6022440d28f503ea3becb32cfefaf Mon Sep 17 00:00:00 2001 From: Bastian Jakobi Date: Wed, 17 Jul 2024 09:41:31 +0200 Subject: [PATCH] fix(test): correctly expose AppStateServiceMock --- .../mocks/app-state-service-mock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/angular-integration-interface/mocks/app-state-service-mock.ts b/libs/angular-integration-interface/mocks/app-state-service-mock.ts index 2d1ecfb2..c6466d25 100644 --- a/libs/angular-integration-interface/mocks/app-state-service-mock.ts +++ b/libs/angular-integration-interface/mocks/app-state-service-mock.ts @@ -12,7 +12,7 @@ export function provideAppServiceMock() { } export function provideAppStateServiceMock() { - return [{ provide: AppStateService, useClass: AppStateServiceMock }] + return [AppStateServiceMock, { provide: AppStateService, useExisting: AppStateServiceMock }] } @Injectable()