Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

test(plugins): drop a key-scope test the service cannot observe

Yudhi Armyndharis0e648c4f45df
diff --git a/src/modules/plugins/plugins.service.spec.ts b/src/modules/plugins/plugins.service.spec.ts
index 7e921dc67..357a5236d 100644
--- a/src/modules/plugins/plugins.service.spec.ts
+++ b/src/modules/plugins/plugins.service.spec.ts
@@ -556,10 +556,6 @@ describe('PluginsService — per-session config', () => {
expect(service.updateSessions('sess-cfg', []).activeSessions).toEqual([]);
});
- it('lets an unrestricted key activate for all sessions', () => {
- expect(service.updateSessions('sess-cfg', ['*']).activeSessions).toEqual(['*']);
- });
-
it('clears the override when an empty slice is written', () => {
service.updateSessionConfig('sess-cfg', 'sess-A', { lang: 'he' });
service.updateSessionConfig('sess-cfg', 'sess-A', {});