diff --git a/frontend/src/components/Transaction.spec.js b/frontend/src/components/Transaction.spec.js index e5e0c89f0..d78af1e76 100644 --- a/frontend/src/components/Transaction.spec.js +++ b/frontend/src/components/Transaction.spec.js @@ -20,8 +20,17 @@ describe('Transaction', () => { }, } + const propsData = { + amount: 100, + gdt: 110, + factor: 22, + comment: '', + date: '2020-04-10T13:28:00+00:00', + gdtEntryType: 4, + } + const Wrapper = () => { - return mount(Transaction, { localVue, mocks }) + return mount(Transaction, { localVue, mocks, propsData }) } describe('mount', () => { diff --git a/frontend/src/components/Transaction.vue b/frontend/src/components/Transaction.vue index faf347a41..ce5b225d9 100644 --- a/frontend/src/components/Transaction.vue +++ b/frontend/src/components/Transaction.vue @@ -60,29 +60,27 @@ - + >