diff --git a/frontend/src/components/GddSend/TransactionForm.spec.js b/frontend/src/components/GddSend/TransactionForm.spec.js index 213301fda..59537dc47 100644 --- a/frontend/src/components/GddSend/TransactionForm.spec.js +++ b/frontend/src/components/GddSend/TransactionForm.spec.js @@ -322,7 +322,7 @@ Die ganze Welt bezwingen.“`) [ { email: 'someone@watches.tv', - amount: '87.23', + amount: 87.23, memo: 'Long enough', selected: 'send', }, diff --git a/frontend/src/components/GddSend/TransactionForm.vue b/frontend/src/components/GddSend/TransactionForm.vue index cd311e3ee..4ad36a7e9 100644 --- a/frontend/src/components/GddSend/TransactionForm.vue +++ b/frontend/src/components/GddSend/TransactionForm.vue @@ -144,7 +144,7 @@ export default { this.$emit('set-transaction', { selected: this.radioSelected, email: this.form.email, - amount: this.form.amount, + amount: parseFloat(this.form.amount), memo: this.form.memo, }) }, diff --git a/frontend/src/pages/Send.spec.js b/frontend/src/pages/Send.spec.js index ba756f79d..63715a6a2 100644 --- a/frontend/src/pages/Send.spec.js +++ b/frontend/src/pages/Send.spec.js @@ -13,7 +13,7 @@ const navigatorClipboardMock = jest.fn() const localVue = global.localVue -describe.skip('Send', () => { +describe('Send', () => { let wrapper const propsData = {