From 3e2223300291da90e6bdfc9881d0edf42acf3cb4 Mon Sep 17 00:00:00 2001 From: eromano Date: Mon, 24 Jul 2023 18:54:53 +0200 Subject: [PATCH] go back --- demo-shell/src/app/app.module.ts | 3 ++- lib/core/src/lib/testing/automation.service.ts | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/demo-shell/src/app/app.module.ts b/demo-shell/src/app/app.module.ts index 011d3ad9ad..15f40e42fc 100644 --- a/demo-shell/src/app/app.module.ts +++ b/demo-shell/src/app/app.module.ts @@ -145,6 +145,7 @@ import { UserInfoComponent } from './components/app-layout/user-info/user-info.c bootstrap: [AppComponent] }) export class AppModule { - constructor() { + constructor(automationService: CoreAutomationService) { + automationService.setup(); } } diff --git a/lib/core/src/lib/testing/automation.service.ts b/lib/core/src/lib/testing/automation.service.ts index 333943ebbf..ebf711f347 100644 --- a/lib/core/src/lib/testing/automation.service.ts +++ b/lib/core/src/lib/testing/automation.service.ts @@ -39,6 +39,11 @@ export class CoreAutomationService { ) { // eslint-disable-next-line no-console console.log('ADF Core AutomationService init'); + } + + setup() { + // eslint-disable-next-line no-console + console.log('ADF Core setup'); const adfProxy = window['adf'] || {};