Skip to content

Application tests

The app.test file starts the server and then tests that it shows the index page and that 404 (Not Found) JSON errors are being returned. It uses the Axios HTTP library to make the calls.

This file can e.g. be used to test application setup and teardown.

All tests are using MochaJS but will be moving to the NodeJS test runner in the future.

Released under the MIT License.