This is a simple example of performing unit tests with Node.js
There are two files:
server.js: A very simple node JS serverspec.js: Simple unit test
$ cd ose-dev3-helloworld-nodejs
$ npm install
$ npm test
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a simple example of performing unit tests with Node.js
There are two files:
server.js: A very simple node JS serverspec.js: Simple unit test$ cd ose-dev3-helloworld-nodejs
$ npm install
$ npm test