Trying the Node.js test runner and implement a simple progressive tax calculator to test it.
- Node.js > v.20
- pnpm > 8.12.0
- Install dependencies
pnpm install
- Build project
pnpm build
- Run the script. Modify the values accordingly inside
./src/index.ts
.
pnpm start
Tests are implemented with Node.js test runner. To run the test suites execute:
pnpm test