Simple calculator demo to practice on Unit Testing with native JavaScript projects that uses ES Modules
# install dependencies
$ npm install
# serve with hot reload at 127.0.0.1:8080
$ npm start
# run unit testing just for once
$ npm test
# serve unit testing with hot reload
$ npm run test:watch
- Vitest - Fast Unit-Test Framework
This demo is implemented as a part of JavaScript Unit Testing - The Practical Guide by Maximilian Schwarzmüller.