From 82409d6533aa6a67eb1accab3e2b649af2d5038d Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 3 Apr 2024 12:38:33 +0200 Subject: [PATCH] backend-app-api: update feature discovery service test for module loading update Signed-off-by: Patrik Oldsberg --- .../src/alpha/featureDiscoveryServiceFactory.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend-app-api/src/alpha/featureDiscoveryServiceFactory.test.ts b/packages/backend-app-api/src/alpha/featureDiscoveryServiceFactory.test.ts index 92f34bb94f..254b6a47f1 100644 --- a/packages/backend-app-api/src/alpha/featureDiscoveryServiceFactory.test.ts +++ b/packages/backend-app-api/src/alpha/featureDiscoveryServiceFactory.test.ts @@ -280,7 +280,7 @@ describe('featureDiscoveryServiceFactory', () => { 'detected-module', 'detected-plugin-with-alpha', ], - exclude: ['detected-plugin'], + exclude: ['detected-module'], }, }, }, @@ -288,9 +288,9 @@ describe('featureDiscoveryServiceFactory', () => { ], }); - expect(mock.warn).not.toHaveBeenCalledWith('detected-plugin'); + expect(mock.warn).toHaveBeenCalledWith('detected-plugin'); expect(mock.warn).not.toHaveBeenCalledWith('detected-library'); - expect(mock.warn).toHaveBeenCalledWith('detected-module'); + expect(mock.warn).not.toHaveBeenCalledWith('detected-module'); expect(mock.warn).toHaveBeenCalledWith('detected-plugin-with-alpha'); });