From d3605877ec37e3cef1c27e6f91be6745f3091ebe Mon Sep 17 00:00:00 2001 From: HIMANSHU Date: Fri, 12 Apr 2024 11:25:44 +0530 Subject: [PATCH] fixed root saga tests --- app/components/atoms/LanguageProvider/tests/reducer.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/atoms/LanguageProvider/tests/reducer.test.js b/app/components/atoms/LanguageProvider/tests/reducer.test.js index baea145..da534fd 100644 --- a/app/components/atoms/LanguageProvider/tests/reducer.test.js +++ b/app/components/atoms/LanguageProvider/tests/reducer.test.js @@ -14,12 +14,12 @@ describe('Tests for LanguageProvider actions', () => { it('changes the locale', () => { const { mockedState } = setupMockedState(); const locale = 'de'; - const UpdateMockedState = mockedState.set('locale', locale); + const updateMockedState = mockedState.set('locale', locale); expect( languageProviderReducer(undefined, { type: languageProviderTypes.CHANGE_LOCALE, locale }) - ).toEqual(UpdateMockedState); + ).toEqual(updateMockedState); }); });