Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
import { changeLocale } from '../actions';
import { CHANGE_LOCALE } from '../constants';
describe('LanguageProvider actions', () => {
describe('Change Local Action', () => {
it('has a type of CHANGE_LOCALE', () => {
const expected = {
type: CHANGE_LOCALE,
locale: 'de',
};
expect(changeLocale('de')).toEqual(expected);
});
});
});