1.0.41 • Published 5 years ago
ozone-be-generator v1.0.41
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)