Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ozone-be-generator

hansiemithun11MIT1.0.41

Express with jest and super test

readme

Express SuperTest moxios testing

Testing an Express app with SuperTest and moxios

Running the app

npm run server (It runs app with dev mode watching the server) npm run server:prod (It runs app with dev but doesnt watch the server)

Running tests

Make sure you have installed yarn:

Later run: yarn test (runs tests with Jest)

Ackownledgments