Fix config unit test that was returning early

This commit is contained in:
Felipe Knorr Kuhn 2023-07-31 14:10:49 -07:00
parent d5dca95fbe
commit 17f1cb8648
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A

View File

@ -181,12 +181,12 @@ describe('Mempool Backend Config', () => {
// We have a few cases where we can't follow the pattern
if (root === 'MEMPOOL' && key === 'HTTP_PORT') {
console.log('skipping check for MEMPOOL_HTTP_PORT');
return;
continue;
}
switch (typeof value) {
case 'object': {
if (Array.isArray(value)) {
return;
continue;
} else {
parseJson(value, key);
}