mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-30 18:47:51 +00:00
fix: Update breaking specs (#7169)
This commit is contained in:
@@ -28,7 +28,7 @@ describe('#actions', () => {
|
|||||||
describe('#setColorScheme', () => {
|
describe('#setColorScheme', () => {
|
||||||
it('creates actions for dark mode properly', () => {
|
it('creates actions for dark mode properly', () => {
|
||||||
actions.setColorScheme({ commit }, 'dark');
|
actions.setColorScheme({ commit }, 'dark');
|
||||||
expect(commit.mock.calls).toEqual([['SET_DARK_MODE', 'dark']]);
|
expect(commit.mock.calls).toEqual([['SET_COLOR_SCHEME', 'dark']]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user