refactor: allow messages not starting with http

This commit is contained in:
Carlos Valente
2024-10-06 21:38:17 +02:00
committed by Carlos Valente
parent 6ce275da7a
commit 887e5c448e
4 changed files with 1 additions and 16 deletions
@@ -128,7 +128,6 @@ describe('parseHttp()', () => {
{ id: '1', cycle: 'onLoad', message: 'http://', enabled: true }, // OK
{}, // no data
{ id: '2', cycle: 'onStart', enabled: true }, // no message
{ id: '3', cycle: 'onLoad', message: '/test', enabled: true }, // doesnt start with http
],
} as HttpSettings;
const result = parseHttp({ http }, errorEmitter);