Skip to content

gpe-mw-training/ose-dev3-helloworld-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node JS Unit Test - Hello World

This is a simple example of performing unit tests with Node.js

There are two files:

  1. server.js: A very simple node JS server
  2. spec.js: Simple unit test

How to Test

Step 1. Move to the source code directory
$ cd ose-dev3-helloworld-nodejs
Step 2. Add the node dependencies
$ npm install
Step 3. Run the unit tests. This will execute unit test code in spec.js
$ npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published