Skip to content

Commit

Permalink
fixed root saga tests
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu-wedensday committed Apr 12, 2024
1 parent 092e8dc commit d360587
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/atoms/LanguageProvider/tests/reducer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});

0 comments on commit d360587

Please sign in to comment.