This simple web page shows how you can use modules and jest. Its purpose is to use for examples during class and as a starting point for the lab.
Fork this repo
Clone it down
npm install
- in order to pull down all dependent node modules.
npm run start-server
to run the server.
You should now be able to see the local web page at http://127.0.0.1:8080/
Cntrl + C to stop the server.
To Test:
npm run test
1.) Add the subtract function to the calculator module.
2.) Write tests for the subtract functions.