Testing Basics - OCLC-Developer-Network/devconnect2018-idm GitHub Wiki
Unit testing code
- Make sure you are in the base project directory
- Run the unit tests
$ npm test
Testing our application by hand via a web browser
- Make sure you are in the base project directory
- Start the built-in Node.js web server
$ npm start
- Go to web browser to view application at http://localhost:8000