mirror of
https://github.com/lingble/chatwoot.git
synced 2025-12-04 20:05:22 +00:00
fix: Help Center articles are not available on the widget [CW-2534] (#7954)
This commit is contained in:
committed by
GitHub
parent
bdeb2f9812
commit
fabb3c8da4
@@ -32,4 +32,12 @@ describe('#mutations', () => {
|
||||
expect(state.darkMode).toEqual('dark');
|
||||
});
|
||||
});
|
||||
|
||||
describe('#SET_WIDGET_LOCALE', () => {
|
||||
it('sets widget locale properly', () => {
|
||||
const state = { locale: 'en' };
|
||||
mutations.SET_WIDGET_LOCALE(state, 'es_ES');
|
||||
expect(state.locale).toEqual('es_ES');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user