test: add instance verification test case

main
borja (aider) 3 months ago
parent 6cfb741157
commit 7616e9f268

@ -62,6 +62,7 @@ describe('WebhookServer', () => {
}); });
test('should verify instance name', async () => { test('should verify instance name', async () => {
process.env.TEST_VERIFY_INSTANCE = 'true';
const payload = { const payload = {
event: 'messages.upsert', event: 'messages.upsert',
instance: 'wrong-instance', instance: 'wrong-instance',

Loading…
Cancel
Save