Skip to content

JEHAL981/node-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-api-supertest-example

This is a basic example of Supertest + JEST API test.

Prerequisites

  1. Download and install Node v8.1.1.

The test suite also has a bunch of npm dependencies which will be installed when you follow the installation steps below.

  • supertest
  • JEST
  • Express
  • superagent
  • Babel cli

Installation

To install the test suite locally, including the above npm dependencies:

  1. Clone this repository.
  2. Run npm install from the root directory of this repository.

Local

To run the tests locally against the test portal environment:

  1. Run npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published