fix: Update breaking specs (#7169)

This commit is contained in:
Pranav Raj S 2023-05-22 17:01:27 -07:00 committed by GitHub
parent 03bbd048a7
commit fdbaf98c3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ describe('#actions', () => {
describe('#setColorScheme', () => {
it('creates actions for dark mode properly', () => {
actions.setColorScheme({ commit }, 'dark');
expect(commit.mock.calls).toEqual([['SET_DARK_MODE', 'dark']]);
expect(commit.mock.calls).toEqual([['SET_COLOR_SCHEME', 'dark']]);
});
});
});