backend-app-api: update feature discovery service test for module loading update

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-04-03 12:38:33 +02:00
parent 3256f14401
commit 82409d6533
@@ -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');
});