/sales-taxes

Primary LanguageJavaScript

Herbert Santos

some steps description

1 - first bootstraped with react creat app 2 - set reducer structure 3 - utils folder with taxes and cost calculation 4 - form and payloads 5 - create components and some stylesheet 6 - set unit tests with jest to simulate sales taxes

United tests results

PASS src/components/App/App.test.js ✓ taxes calculation (3ms) ✓ cost calculation (2ms)

Test Suites: 1 passed, 1 total Tests: 2 passed, 2 total Snapshots: 0 total Time: 2.182s

to run project

1 - yarn 2 - yarn run start

to run unit tests

1 - yarn test