Closed nik-christou closed 4 years ago
I pushed some changes in the fb_issue-5 branch. Check it out. :)
Some notes:
TaxCalculatorApp._calculateResults()
, we don't have the value of the combo box that has the values Annual, Monthly. They are necessary for the calculator as well. Currently it assumes annual income.socialInsurancePercent
to cyprus.json
. It's 8.3%.CountryLoader
so that if the end
bracket is -1, it sets the value to Number.POSITIVE_INFINITY
. It helps with the calculations as it avoids special cases.I probably won't be able to work on it tomorrow Feb 16th so if you want to take over it, feel free!
Nice commit :-) I pushed commit to:
So far I only know how to use karma for web component testing. Tax calculator is not a web component so I will also have to do some research how to test it :-)