The root cause is that Jest runs each test file in its own worker process. If you start a container inside beforeAll() of each file, you get one container per file. There is no built-in mechanism to ...
This architecture is based on Ralph Kimball's data warehouse principles from "The Data Warehouse ETL Toolkit". The SA-TA-TH pattern implements key Kimball concepts: ...