From b6e09c08e832dc14ac43e4326e9e28c4f343e008 Mon Sep 17 00:00:00 2001 From: Waldemar Mazurek Date: Wed, 12 Jun 2024 11:53:03 +0200 Subject: [PATCH] Removes not needed warning message (#3775) --- container/src/services/container.service.ts | 5 +---- container/test/services/container.service.spec.ts | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/container/src/services/container.service.ts b/container/src/services/container.service.ts index e7facacbe8..081de511e1 100644 --- a/container/src/services/container.service.ts +++ b/container/src/services/container.service.ts @@ -176,9 +176,6 @@ export class ContainerService { case LuigiInternalMessageID.SET_DIRTY_STATUS_REQUEST: this.dispatch(Events.SET_DIRTY_STATUS_REQUEST, targetCnt, event); break; - default: - console.warn('Functionality not yet implemented: ', msg); - break; } } } @@ -198,4 +195,4 @@ export class ContainerService { } } -export const containerService = new ContainerService(); +export const containerService = new ContainerService(); \ No newline at end of file diff --git a/container/test/services/container.service.spec.ts b/container/test/services/container.service.spec.ts index 9c5b8ed970..0cc0bf4dbb 100644 --- a/container/test/services/container.service.spec.ts +++ b/container/test/services/container.service.spec.ts @@ -345,7 +345,7 @@ describe('getContainerManager messageListener', () => { } }; cm.messageListener(event); - expect(consoleWarnSpy).toHaveBeenCalledWith('Functionality not yet implemented: ','no-func'); + expect(consoleWarnSpy).not.toHaveBeenCalled(); }); });