To run mocha-based tests
npm run test
To get coverage report
npm run cover
If using a fresh db, seed the languages before testing
npm run build
npm run seedlangs
We need a PostgreSQL database to run. Please configure the following env variables -
DB_NAME='judgeapi',
DB_USER='judgeapi',
DB_PASS='judgeapi',
DB_HOST='localhost'