diff --git a/frontend/src/views/Pages/AccountOverview.spec.js b/frontend/src/views/Pages/AccountOverview.spec.js index 1454ada5c..68d91ee98 100644 --- a/frontend/src/views/Pages/AccountOverview.spec.js +++ b/frontend/src/views/Pages/AccountOverview.spec.js @@ -34,30 +34,5 @@ describe('AccountOverview', () => { it('has a transactions table', () => { expect(wrapper.find('gdd-table-stub').exists()).toBeTruthy() }) - - describe('updateBalance method', () => { - beforeEach(async () => { - wrapper.find('gdd-send-stub').vm.$emit('update-balance', { - ammount: 42, - }) - await wrapper.vm.$nextTick() - }) - - it('emmits updateBalance with correct value', () => { - expect(wrapper.emitted('update-balance')).toEqual([[42]]) - }) - }) - - describe('toggleShowList method', () => { - beforeEach(async () => { - wrapper.setProps({ showTransactionList: false }) - wrapper.find('gdd-send-stub').vm.$emit('toggle-show-list', true) - await wrapper.vm.$nextTick() - }) - - it('changes the value of property showTransactionList', () => { - expect(wrapper.vm.showTransactionList).toBeTruthy() - }) - }) }) })