From b0bad44a9ecc01ab780cc42527e6121374b3bcef Mon Sep 17 00:00:00 2001 From: billcuthbert <96billc@gmail.com> Date: Mon, 16 Aug 2021 02:01:24 +0100 Subject: [PATCH] tests --- src/app/app.component.html | 42 +++++++------- src/app/app.component.spec.ts | 13 ----- src/app/app.component.ts | 20 +------ src/app/model.ts | 21 +++++-- .../transaction-form.component.html | 21 +++---- .../transaction-form.component.spec.ts | 58 +++++++++++++++++-- .../transaction-form.component.ts | 7 +-- .../transaction-list.component.html | 2 +- .../transaction-list.component.scss | 3 +- .../transaction-list.component.spec.ts | 55 +++++++++++++----- .../transaction-list.component.ts | 2 +- 11 files changed, 151 insertions(+), 93 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 79ec5ae..dc2692d 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,26 +1,28 @@ -
Are you ready to send out this transfer?
It will be sent to account:
-{{cs.toAcc.value}}
+{{transactionForm.controls.toAcc.value}}
With the amount of:
-€ {{decimalString(cs.amount)}}
+€ {{decimalString(transactionForm.controls.amount)}}