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'); });