Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Run Jest Tests

gio-del edited this page Feb 4, 2023 · 3 revisions

Jest tests will make us of the DB so there is a little preparation to do.

First, build and start the container as described in the installation guide

DB Preparation

Go to the db.js files

Change host to 'localhost' and port to '5433'

Run the tests

Open a terminal in the itd/server folder and type npm run test

Clone this wiki locally