No metadata for “User” was found using TypeORM, ExpressJS, Supertest and Testcontainers
I am trying to write integration tests for an expressjs application which uses TypeORM and a PostgreSQL database. The main application works fine without any issues with a main datasource, migrations works perfectly. The issue is with setting up integration test with testcontainers and another datasource which is really the same as the main datasource albeit getting it’s database connection parameters from the running testcontainer postressql instance.