From 3f5146021cdf7518cdd0f5c0e6fec8d286e67b39 Mon Sep 17 00:00:00 2001 From: openhands Date: Fri, 10 Jan 2025 10:13:00 +0000 Subject: [PATCH] test: simplify translations test structure - Remove nested describe block as suggested in review - Keep test functionality unchanged --- frontend/__tests__/i18n/translations.test.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/__tests__/i18n/translations.test.tsx b/frontend/__tests__/i18n/translations.test.tsx index c91a2721b70e..a228991f6714 100644 --- a/frontend/__tests__/i18n/translations.test.tsx +++ b/frontend/__tests__/i18n/translations.test.tsx @@ -20,8 +20,7 @@ const renderWithI18n = (component: React.ReactNode, language: string = 'en') => }; describe('Translations', () => { - describe('Translation Coverage', () => { - it('should have translations for all supported languages', () => { + it('should have translations for all supported languages', () => { // Get all language codes from AvailableLanguages const languageCodes = AvailableLanguages.map(lang => lang.value); @@ -57,5 +56,4 @@ describe('Translations', () => { // Expect no missing translations expect(missingTranslations).toHaveLength(0); }); - }); });