Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
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.tsindex 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', {});