diff --git a/scripts/system_tests_utils.ts b/scripts/system_tests_utils.ts index 50c5776ca92..a2492e25ef6 100644 --- a/scripts/system_tests_utils.ts +++ b/scripts/system_tests_utils.ts @@ -82,7 +82,7 @@ export const getSystemTestProvider = (url); - } else if (url.includes('ws')) { + } if (url.includes('ws')) { const reconnectionOptions = { delay: 100, @@ -91,8 +91,9 @@ export const getSystemTestProvider = (url, {}, reconnectionOptions); - } - return url; + } + + return url; }; export const getSystemTestEngine = (): string =>