1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-12 00:45:19 +01:00
Whalebird-desktop-client-ma.../spec/unit/store/TimelineSpace/HeaderMenu.spec.js

20 lines
446 B
JavaScript
Raw Normal View History

import HeaderMenu from '@/store/TimelineSpace/HeaderMenu'
describe('TimelineSpace/HeaderMenu', () => {
describe('mutations', () => {
let state
beforeEach(() => {
state = {
title: 'Home',
reload: false
}
})
describe('changeReload', () => {
it('should be changed', () => {
HeaderMenu.mutations.changeReload(state, true)
expect(state.reload).toEqual(true)
})
})
})
})