Node.js Jest
- Navigate to the "backend/nodejs" folder in terminal
- Run the command
npm installto install dependency packages (this should install Node.js and Jest as well) - Enter
node server.jsto launch server - Go to browser of your choice and navigate to
http://localhost:8000
- Navigate to the "backend/nodejs" folder in terminal
- Run the command
npm testto run tests
- Press
Ctrl + Cin the terminal where the server/test is running