adapt store unit tests to changes in new design

This commit is contained in:
mahula 2022-12-08 16:34:03 +01:00
parent bbccafabd9
commit 8e4b16b2db

View File

@ -154,7 +154,7 @@ describe('Vuex store', () => {
describe('hideAmountGDD', () => {
it('sets the state of hideAmountGDD', () => {
const state = { hideAmountGDD: false }
creation(state, true)
hideAmountGDD(state, false)
expect(state.hideAmountGDD).toEqual(false)
})
})
@ -162,7 +162,7 @@ describe('Vuex store', () => {
describe('hideAmountGDT', () => {
it('sets the state of hideAmountGDT', () => {
const state = { hideAmountGDT: true }
creation(state, true)
hideAmountGDT(state, true)
expect(state.hideAmountGDT).toEqual(true)
})
})