This is a basic example of Supertest + JEST API test.
- 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
To install the test suite locally, including the above npm dependencies:
- Clone this repository.
- Run
npm install
from the root directory of this repository.
To run the tests locally against the test portal environment:
- Run
npm run test